So, I've created a development certificate for my iPhone app, and in the process I saved a C.S.R as a CertificateSigningRequest.certSigningRequest file on the computer hard drive with Keychain Access Certificate Assistant. It seems to me that Apple asks for an exactly same file to be generated and saved onto the hard drive for requestin...
Hi,
I am planning to do a app which works on 3.1 and launches on 3gs as well. Please let me know how will it be displayed when launched at iTunes connect ? will it be like works on 3.1 and above and will get installed on iphone 3.1, 3.1.2, 3gs and 4.0.1 or just works on 3.1 alone. Please enlighten me what has to be done for working on a...
I would like to ask, which method has been called whenever the user quit the app totally.
What I mean for quit the app totally is after the user tap the Home button, the app actually is running at the background but whenever the user double tap the Home button, then tap and hold on an app icon and then tap the RED MINUS sign to quit the...
Hi all,
I'm trying to create a relatively simple game with 2D graphics which has somewhat complicated animations. I tried to develop the game with the basic Core Graphics and Core Animation libraries but the animation performance of the game objects is not satisfactory (i.e. jerky/delayed).
So, I am now looking into Cocos2D which looke...
Hello there,
I'm creating some temporary files in the iPad simulator. To test my file creation, I create the file and then read it back. Here's some code to show this:
-(NSString *) writeToTempFile:(UIImage*) image{
NSString *path = [self createTemporaryFile];
NSLog(@"path: %@", path);
NSData *data = UIImageJPEGRepresentation(image, 1)...
Hi,
I have a UIWebView i want to introduce functionality of content(may be text or text and images) selection so that the user can email it.
Is there any way to get the HTML code for the given selection using JavaScript?
I tried the built-in clipboard of webkit but its seems not working for images selection.May be i am wrong,if there is ...
Hi folks,
I have an iPhone App that uses a relatively small amount of data.
I'd like to save the data in the XML format and be able to load this in memory to Objective-C objects. I'd like to use iPhone SDK facilities like NSPropertyListSerialization or writeToFile:atomically: classes and methods.
The NSPropertyListSerialization documen...
Is there a way to exclude some of the files in your application bundle from being backed up to the user's computer? I have a photo browsing application that allows you to store photos/videos locally, when a user goes sync their device and the application is backed up its taking a really long time since its backing up all the locally sto...
Here's my code (simplified a bit). I have an NSTimer firing every second which subtracts one from the countervariable. When the app goes in the background, I'm stopping the counter and saving the time the counter would reach zero into an NSDefault value.
However, when restoring the app from background, when I subtract the current time ...
i have an app that uploads some video through an http POST command to a server. on the iPhone 4 (and possibly the 3GS) when the user uploads a 34 second video a little thing pops up at the bottom of the screen and says that the video is being compressed. probably for faster upload. problem being is that the server guy says he can't uncom...
example 1: ==> [{"name":"luxy"}]
example 2: ==> {"name":"luxy"}
Both example I got are valid json format...
in xcode... I write below:
[dictionary objectForKey:@"name"]
in example 2 I can get "luxy" but how come if I use example 1 then it fails?
is my xcode wrong?
...
There are LOTS of iphone-related questions of this type. I know; I read them until I wasn't learning anything new, all in an effort to avoid (a) posting and (b) looking mighty green.
@interface CommonCostingClass : NSObject {
}
-(void) theCCC;
@end
That's the whole thing. As minimal as I could make it. I've even resorted to UIView...
Hello everybody.
Recently downloaded "MapKitDragAndDrop 3" package (http://github.com/digdog/MapKitDragAndDrop) to use in my app. The demo project runs smoothly.
Both DDAnnotation.h+m and DDAnnotationView.h+m files were imported as they are. The method of calling the class was also copied/pasted.
DDAnnotation *annotation = [[[DDAnnota...
Hi,
I have a UINavigationController and a UITableView.
I want the user to be able to:
Add a new row.
Move back to the previous UIViewController.
These two actions are supported by the following design pattern:
[[Back] Title [+]]
However if I also want the user to be able to edit the list, how then do I do this? There is no p...
I have a CoreData Mac app for which I'm writing an iOS front end. All's working well thusfar, I'm able to successfully read files created with the Mac app in the iOS version. I'm struggling with how to read the NSColor data (being stored as an NSData object in my data model) into a UIColor in iOS version of the app.
To summarize: How ...
When I play a video doing this:
NSString *videoFilepath = [[NSBundle mainBundle] pathForResource:@"bacon" ofType:@"mov"];
NSURL *videoURL = [NSURL fileURLWithPath:videoFilepath];
MPMoviePlayerController *movie;
movie = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];
[movie play];
on 3.2, it works pef...
I am trying to develop an iPhone app that integrates properly with a "Made for iPhone" accessory. There is conflicting documentation as to whether applications with wildcard Bundle Identifiers will work properly. I need to know whether
An app with a wildcard identifier will show up in the app store when the accessory is connected and...
Is there a method to go back 1 view in the stack on a UINavigationController? Or to a view with a specific title?
...
Hi,
I have a UITableView in grouped style in my iPhone app.
Now I want to customize the section headers with an Image, a label and an activity indicator.
To do this I created a new UIViewController subclass and a XIB file. I added the UIImageView, UILabel and UIActivityIndicatorView as IBOutlet properties to the ViewController and wire...
Every now and then I start getting this error in the debugger constantly. Sometimes the debugger will flat out hang, some times it will pause for a minute. This is just when stepping through all objective-c code.
Any thoughts on what might cause it? I just started using a static library, and I'm stepping through static-library...