Creating .pem file for APNS?
How do I create a .pem file to be stored in the hosting server for APN payload data? 11 Answers 11
How do I create a .pem file to be stored in the hosting server for APN payload data? 11 Answers 11
I’ve been bashing my face into this one for literally days now and even though I feel constantly that I am right on the edge of revelation, I simply cannot achieve my goal. I thought, ahead of time in the conceptual phases of my design, that it would be a trivial matter to grab a … Read more
I am developing an application in which I want to change either color or image of UIPageControl pagination dots. How can I change it? Is it possible to customize UIpageControl on above scenario? 17 Answers 17
I am trying to add a refresh button to the top bar of a navigation controller with no success. Here is the header: @interface PropertyViewController : UINavigationController { } Here is how I am trying to add it: – (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { UIBarButtonItem *anotherButton = [[UIBarButtonItem … Read more
I have a UIScrollView with only horizontal scrolling allowed, and I would like to know which direction (left, right) the user scrolls. What I did was to subclass the UIScrollView and override the touchesMoved method: – (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesMoved:touches withEvent:event]; UITouch *touch = [touches anyObject]; float now = [touch locationInView:self].x; float … Read more
Is there any way to browse the file system of a currently running or just killed iOS simulator? I’d settle for being able to see a specific app’s files if there’s a way to do that. Note that I don’t want to do this programatically. I want to see/open the files in the Finder. 12 … Read more
Why doesn’t @try block work? It crashed the app, but it was supposed to be caught by the @try block. NSString* test = [NSString stringWithString:@”ss”]; @try { [test characterAtIndex:6]; } @catch (NSException * e) { NSLog(@”Exception: %@”, e); } @finally { NSLog(@”finally”); } 3 Answers 3
I submitted an app update, but I have received an email telling me this error has occurred: Missing recommended icon file – The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120×120’ pixels, in .png format How can I fix this problem? Here are the current icon requirements from … Read more
I just upgraded to Xcode 4 and for some reason my app won’t run in the simulator or iOS device. It was working perfectly in Xcode 3, but all of a sudden now when I press run the program stops at “Attaching to…”. There doesn’t seem to be any other info to help with this … Read more
I had a Macintosh I used to develop iPhone apps with using Xcode 4. I now have a new Macintosh with a new install of… everything. When opening Xcode projects built on the old Mac, I cannot run the app on the iPhone that was configured as a development iPhone. Xcode 4 organizer tells me … Read more