What's the quickest way to prepopulate CoreData?
My iPhone app uses CoreData and I would like to prepopulate the database. What's the best way to go about this? ...
My iPhone app uses CoreData and I would like to prepopulate the database. What's the best way to go about this? ...
I noticed some iPhone apps give you the title screen instantly. Then there are some apps that gives you a black/blank screen for a brief moment. I have the latter issue, but its lasting about 2 seconds. I would like to display a PNG image (over 200 KB size) and a loading indicator view. My app is based on UIView. The specified a custom...
Curious what practices people have learned before making their final build and submitting to the App Store? Aside from switching switching from Debug to Release & commenting out calls to NSLog what other basic and/or not so basic things should we be watching out for? ...
I'm trying to make my table view remember it's last position, so that after the app is run again, it will scroll to that position. to do this, in my viewWillDisappear: method, I get the first visible row number and save it to NSUserDefaults. then in my viewDidAppear I try to scroll to that row by sending scrollToRowAtIndexPath to the tab...
Hi Everyone: I have a very simple class (shown below), however every time I run it, it returns: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key field1.' I am drawing this nib file to the screen in the following way: UIVi...
I'm sure this is simple, but how do I determine which version of the iPhone SDK I currently have installed? ...
My app needs to invite friends from facebook conenct is this possibl e? Any examples ? Please help ! ...
The sound is started using MonoTouch.AudioToolbox.SystemSound and I would like to stop the playback when I receive a specific event. ...
hi, all i want to make a call and activate speaker of iphone programatically. can any one tell me , how to activate and deactivate speaker mode of iphone through code. Thanks in advance..... ...
I am new to Objective-C and Cocoa-Touch development. I have an ON/OFF Switch on a view that is supposed to disable/enable hide/show another button on the same view, but for some reason it doesn't work sometimes, this is the behavior: 1st click: Switch to OFF, Other Button hidden => OK 2nd click: Switch to ON, Nothing happens => WRONG 3...
Hi, why can't I get my programmatically created UIScrollView (or plain UIViews) to sit where I want them? I am building a viewcontroller component that builds up a uiscrollview and adds it as a subview to placeholder UIView that was dropped in the design using IB. the main view, with UIView IBOutlet 'ibView' linked to the placeholder v...
I've just finished off an app for the iPhone which, until today, ran fine on the iPhone simulator and actual devices. I tried changing the xib which is loaded in the applicationDidFinishLaunching method in my application delegate class - all I did was change the string in initWithNibName. When I launch the app on the simulator, the De...
Hi, I can see how to render wireframe primitives in open gl. By using glPolygonMode, however this call seems to be missing from Open GL ES. Does anyone know how to render primitives in wireframe on Open GL ES? Thanks Rich ...
is it possble to show map in lanscape mode? ...
Hi, i've developed an iPhone program which is kind of an image manipulation program: The user get an UIImagePickerController and selects an image. Then the program does some heavy calculating in a new thread (for responsiveness of the application). The thread has, of course, its own autorelease pool. When calculation is done, the seper...
i want to create a path.something like i touch the screen and draw line in touchmove event.when line intersect from starting point.fill that path using any colour. now see in the image i've drawn a line.i just want to detect if line intersects again to start point.then fill that path with my own desired color.also i m using core graph...
Hello everyone, Actually, I'm working on a Core Data based iPhone application. I have two entities which contain more than 200000 rows each and I'm experiencing some performance issues during retrieval of data. For each fetch request, I must wait between 1 and 2 seconds before getting results. I'm thinking of implementing a custom searc...
Is there a way of telling whether my Web Application has been launched from a button on the user's iPhone home screen? I want to display a "add this WebApp to your home screen" prompt if the user has accessed the WebApp via safari by typing in a URL. ...
I'm using ASIHTTPRequest to send a form this way: ASIFormDataRequest *request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease]; [request setPostValue:foo forKey:@"post_var"]; How can I set the encoding of the nsstring foo?? The web receiving the form data expects the value in ISOLatin1 ...
Hi! I want to implement my own way of autorotating the interface: Code: // Override to allow orientations other than the default portrait orientation. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { NSLog(@"should!"); [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuratio...