iphone

Reverse Geocoding all addresses within a radius

Hi, I'm working with the iPhone SDK and am trying to gather and store a list of all addresses within a given radius (the radius will range from .25 to 19.75 miles). understandably the larger radius would produce a large amount of results, but for now I'd like to at least be able to do it for a mile or so. The end result would be to have...

How to diagnose EXC_BREAKPOINT (SIGTRAP) crash in iPad iPhone app?

I am getting a crash with an iPad app that is (at least to me) non-specific. It's an Exception Type: EXC_BREAKPOINT. I am thinking a double memory release or attempting to access a released variable but I hoping someone can shed more light as I hunt through the code. The full crash log is: Exception Type: EXC_BREAKPOINT (SIGTRAP) Ex...

Local Notification

Does Local Notification run on simulator? Does local Notification run if i close(not minimize) the program? ...

rewrite rule if iphone?

hello there. just need one url on my site to check if its a mobile device and then rerite the url accordingly. want to rewrite; http://2amfilms.co.ukl/play-reel/miranda-bowen/playpeaches-and-cream to http://2amfilms.co.ukl/mobile/play-reel/miranda-bowen/playpeaches-and-cream RewriteCond %{HTTP_USER_AGENT} ^.*iPhone.*$ [NC] RewriteRule...

Long press on UITableView

Hi, I would like to handle a long press on a UITableViewCell to print a "quick access menu". Does someone already did this ? Particularly the gesture recognize on UITableView ? ...

How is retain setter implemented with @synthesize?

I have the following in the header: @property (nonatomic, retain) UIView *overlay; And in the implementation: @synthesize overlay; Then: UIView *tempOverlay = [[UIView alloc] initWithFrame:CGRectMake(160.0f, 70.0f, 150.0f, 310.0f)]; self.overlay = tempOverlay; [tempOverlay release]; Isn't the tempOverlay variable above unnecessa...

iPhone: View image from MySql database on server

Hi everyone, I am newbie with iPhone programming. I have a task that upload image from iphone to server and store it in Mysql database on server. After that I retrieve the image from database and display it on iPhone. On Upload: I used ASIFormDataRequest to send image data to server and a PHP script (uploadpicture.php) will store imag...

How can I pass a parameter into a view in iOS?

UIViewController *theController = [[HelpViewController alloc] initWithNibName:@"HelpView" bundle:nil]; [self.navigationController presentModalViewController:theController animated:TRUE]; Here's my code for showing my view. I know I can use app delegate variables, but it would be neater is I could pass a parameter in somehow, ideally us...

Can in-app purchases be "gifted"? iphone / ipad sdk

Does anyone know if in-app purchase can be gifted? ...

How can I debug network requests from my iPhone?

I want to check the network requests an app is making from my iPhone. It's on the same WiFi network as my computer (or if it makes things easier, I can set it up to use an ad-hoc network). I don't want to see every packet, just the URLs which my iPhone is requesting. I don't care about the returned data all that much. A simple solution ...

Quick Check re How To Implement Multiple UIViews in an iPhone Game

I am going to restructure my game to use multiple uiviews. Is the following flow correct ? I create 6 uiviews ( one for each sprite). game loads root uiview. root uiview init method loads 5 subviews using self addSubview. in the game controller I update each uiview each game tic. the game controller will need a pointer to each Uivie...

Playing 3D Animation in iPhone App (Possibly using a looping video)

Hi Guys, Is there a relatively easy was to include a 3D animation into an iPhone app? We have the animations already made up for another project and our client has asked if they can be placed inside an iPhone app. We could perhaps include a low-res looping video of the animation (it's just a 3D component rotating on a single axis), or w...

Play a local video from iPad in an HTML 5 webpage

Hi, Does anyone know if you can use the HTML5 video tag to play a video from the iPad library? Something like: <source src="/local/path/video.mp4" type="video/mp4" /> Thanks for your time ...

recommended cache policy for download of 25 mb file

hi, I download 5 files of size 5 MB each through my app. I find the download is slow even at a peek 3g connection. Please let me know if i should fine tune the cache settings to speed up the downloading process. ...

iPhone web app freezes after incoming call is declined. Why? What can be done?

After an incoming call is declined, the iPhone web app that I've developed completely becomes unresponsive. The app is written in HTML, CSS, JavaScript, jQuery, and jQTouch. If the call is accepted, then the app restarts after the call ends. I’ve read that it is normal for iOS to terminate your app when a call is accepted. (I do not kn...

iPhone URL encoding Problem

Hello stackoverflow, Have a slight problem. Trying to post XML to a server. To do this, I have to encode the XML string in URL format. NSString *encodedString = [NSString stringWithFormat:@"xmlValue=%@",[post stringByAddingPercentEscapesUsingEncoding: NSASCIIStringEncoding]]; That's what I have and it works for all the characters E...

Image not appearing in detachNewThreadSelector

Hello, I am having trouble with my game and was wondering if anyone can help? I am loading an overlay image on the screen when a user clicks on an answer in my quiz game, the image is of either a tick or cross to indicate if the answer was correct. The image is being loaded in a new thread. The problem is that the image does not appe...

How to record all of the user's touches in iPhone app

note: This is an expansion (and clarification) of a question I asked yesterday. I am conducting a research project where I want to record all of the user's touches in the iPhone app. After the experiment, I will be able to download the data and process it in either Excel or (more likely) Matlab and determine how many times they clicked ...

Can I develop mac/iphone/ipad applications without having to paying first?

I'm interested to know if I can have access to all the libraries, ide, etc for the iphone/ipad/macos without paying the 90 bucks(for learning purpose). Do I have to pay to have access to everything in order to start developing? I'm not talking about the istore by the way. I know that there is a fee for that. Thanks. ...

UISegmentedControl Glow effect

Hi Is it Possible to add a glow effect in a UISegmentedControl like how its done in UIbutton using setShowsTouchWhenHighlighted:YES? Thanks ...