Developing app for both iPhone and iPad
How should one proceed if he has to develop the same app on iPhone and iPad? Should all View files be separate with same controller and Model files? ...
How should one proceed if he has to develop the same app on iPhone and iPad? Should all View files be separate with same controller and Model files? ...
when i tap a button in web view which is connected to action-"stop loading" of that web view is not working.. its not stops loading even after i press a stop button which is inteded for stop loading content .... ...
Suppose i want to open an xml file which i have in my email through my app. How should i go for this. Thanks, ...
This does not work NSString *myPDF = @"file:///Users/sm/Documents/doc.pdf"; This works NSString *myPDF = @"http://www.site.org/doc.pdf"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString: myPDF]]; So should I create a web view and load the pdf on the web view? ...
What would be the simplest way to convert an existing application with xib files based on UIWindow into a self contained view controller? ...
I want to save the data which i gather through my iphone app to my webspace in xml format so that the other user's can access it and see the data. Thanks, ...
hello i am trying to add individual integers to a certain array my array is in this form array= number +1 how can i make lets say number be a array = 2 +3 +1 where 2 and 3 are two different distinct obhects that should be commutatively added. i hope i am clear. I dont want the numbers to be added so that the aboce equations would equal ...
Hi, Are these WWDC 2020 videos free or paid? I have a valid apple ID, do i still need to pay for them? What is the link from where I can download these videos? ...
Is there a way to call code when a modal view is finished dismissing? EDIT: I'm sorry, I didn't clarify earlier. I'm trying to dismiss a UIImagePickerController and then show a MFMailComposeViewController and attach the image data to the email. When I try to call [self presentModalViewController: mailController] right after [self d...
In my app I update a textView progamatically. I actually loop through a dataset from a SQLITE3 DB and show a specific text for a given time. Then I would like to show the text from the next dataset record and so forth. I have been browsing through all kind of forums and the apple doc as well, but could not find anything like a repaint, r...
I'm creating a custom UITableViewCell, similar in style to UITableViewCellStyleValue1 but with an editable text field on the right side instead of the detailTextLabel. I'm a little confused on how to size the edit field properly. I want to take the length of the textLabel into account, as well as the size of the contentView, and be abl...
Hi, I am making an iPhone game. I want to release all the object that have been allocated or retained. In the dealloc function I am releasing all such objects but then realized sometimes i end up releasing objects when they have not been allocated yet. So I figured I need to check if its retainCount is greater than zero or not before i ...
At what stage of a iPhone app development do we need provisioning profile and developer certificate? What are their importance and from where we get them? And how do we distribute our iPhone app for testing by other users and finally to end customers in App Store, using provisioning profile or developer certificate or something else. Ple...
Yesterday I ran into a situation (which I resolved by studying my code a lot) where the app would start and then blow up at some point in the start sequence. This would be a breeze to troubleshoot except that there was no stacktrace whatsoever. Debugging and stepping through line-by-line caused the problem to go away, and it was intermit...
HI all, In xcode I am trying to load different nib file in case I am using iphone/ipod or ipad. I have a Define.h file with all enum and constants in it, so I would like to put in there a kind of (obviously wrong because I don't know how to do it): #if IPHONE // <-- can I intercept the Active Executable here ? #define MY_VIEW @"Tab...
While I usually make use of NSOperation for having a thread do a short task/operation, I'd like to have a long-living dedicated thread that is always available to process certain operations. For this, I allocate a new NSThread and use the initWithTarget method: - (id)initWithTarget:(id)target selector:(SEL)selector object:(id)argument...
If one of your beta testers has problems with your app crashing, how do you usually go about debugging this if it works fine for yourself/other users? Is there a way to have debug information sent to you? ...
hi all is it possible to switch from silentmode to ring mode (vice versa) in iphone programatically? Thanks in advance Regards appleDE ...
I have an NSTimeInterval that is stored as a double. I would like to get the amount of minutes that are inide of the second value using the % operator. minutes = secondValue % 60; where minutes is declared as double minutes The result is that XCode says "Invalid operands to binary %" Thoughts? ...
Hey all, I've been using Core Plot to draw some charts for an iOS app I've been developing. While core plot is excellent as a charting application, it's a performance hog when it comes to any kind of user interaction. To get around this, I started doing a lot of the following: UIGraphicsBeginImageContext(view.bounds.size); [vie...