iphone

Minimum OS version number, iPhone app

Hi all I've built an iPhone app which is live in the app-store. When originally submitting the app it showed up in App Store as requiring iPhone OS 3.1.3. When later updating the app I made sure my settings in Xcode for the target for the app store build had the Base SDK version set to 3.1.3 and the Deployment Target version set to 3.0,...

Connecting to bluetooth accessory with iPhone

Can I use GameKit to send data from an iPhone to an accessory, and if not is there some other way to connect without joining the Made for iPhone program ...

Is there a JQuery alternative to JQTouch with better Android Support?

Basically looking for a JQuery plugin with better Android browser support than JQTouch. Or even an alternative Javascript framework with better mobile support. ...

Proper use of UIApplicationMain

I have decided to load my views programmatically, so putting: int ret = UIApplicationMain(argc, argv, nil, nil); Would not work. I do have a ViewController and an AppDelegate, though. What would be the proper use of UIApplicationMain to use a ViewController and an AppDelegate. PS I am NOT using XCode or Interface Builder, I am develop...

iPhone: Where can I find those arrow icons used on the toolbar of the Photo Library (Camera Roll)

Hello. I am looking for those arrow icons (a left white arrow and a white right arrow) that are used on the lower toolbar of the Photo Library (or Camera Roll). I also have seen them on the Facebook app and some other custom apps. I am surprised that they are not built in "UIBarButtonSystemItem" icons. Can anybody point me to these i...

Complex nib is slow to load

I'm looking for advice about a nib that's very slow to load. It's big and complex, with lots of subviews and doodads. When I fire my UINavController to push it, it's noticeably laggy (maybe almost a second) on my 3G. It sits there with the table cell selected and nothing else happening for long enough to make you wonder if it's broken. ...

iPhone CoreData Migration and modifying data

I have an app that has both static data and user entered data in the CoreData store. I understand how to do a lightweight migration to a new database version, but how to I add or modify the static data without affecting the users data? If I have 50 static data entries to add and a couple to modify (ie. spelling mistakes) should they be...

Make a call in Objective C help!

I need to make a call where it says add call here. Can someone help? - (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)ntype { NSLog(@"Scheme: %@", request.URL.scheme); if ([request.URL.scheme isEqualToString:@"save"]) { ...

Its there a way to put a margin top to a rightBarButtonItem ?

I'm trying to possition a rightBarButtonItem in my toolbar, is there a way to do this? Im using a pretty standard navigationBar, this is the code: [[self.navigationController navigationBar] setTintColor:[UIColor blackColor]]; self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle:TTLocalizedString(@"Cerrar", @"...

How to calibrate a Mac Monitor for iPhone development

How to calibrate a Mac monitor to match the iPhone's colours? What is the iPhone's gamma? Thank you. ...

UIGraphicsBeginImageContext question in Objective C

I need the UIGraphicsBeginImageContext(self.view.frame.size); changed to where the .frame part pulls from webView - (void) save { UIGraphicsBeginImageContext(self.view.frame.size); [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraph...

setContentOffset only works if animated is set to YES

I have a UITableView which I would like to be displayed 100px down. For some reason this only works when animated is set to YES. Why is this? - (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; /*[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0] atS...

noob iPhone "count" frustrations!?!?!

Okay, I know I must be doing something incredibly stupid here. Here's the sample code (which, when executed within a viewDidLoad block silently crashes... no error output to debug console). NSMutableArray *bs = [NSMutableArray arrayWithCapacity:10]; [bs addObject:[NSNumber numberWithInteger: 2]]; NSLog(@"%@", [bs count]); [bs release];...

easiest way to uniquely identify a user of an iphone app

What's the easiest way to uniquely identify a user of an iphone app? I've seen some app only asks for phone number to 'register', isn't that unsafe or is there something I missed? Got a Q about uniqueIdentifier, does it reset after some sort of reset/format or change of SIM card? Would a traditional username/email/password be the safe...

Why do I not get low memory issues until images are draw on the screen?

I am able to load over 200 UIImage objects into a NSMutableDictionary without any memorry warning issues. When I start displaying them on the screen (after about showing 10-20 images) I get low memory warnings and an eventual crash. Only about 8 images are displayed at anyone time. Does it take additional memory to actually draw a UII...

iPhone OS: Is there a way to set up KVO between two ManagedObject Entities?

I have 2 entities I want to link with KVO, one a single statTracker class that keeps track of different stats and the other an achievement class that contains information about achievements. Ideally what I want to be able to do is set up KVO by having an instance of the achievement class observe a value on the statTracker class and also ...

How to declare NSString constants for passing to NSNotificationCenter

I've got the following in my .h file: #ifndef _BALANCE_NOTIFICATION #define _BALANCE NOTIFICATION const NSString *BalanceUpdateNotification #endif and the following in my .m file: const NSString *BalanceUpdateNotification = @"BalanceUpdateNotification"; I'm using this with the following codes: [[NSNotificationCenter defaultCenter]...

Issue involving application internationalization on iPhone SDK

Hello there, I'm creating an application which there's a way to the user change its language on the Settings.app (so I'm using the Settings.bundle file), it's working great. But when I change the language and open the application again, it changes the key AppleLanguages with the selected language, but no changes to the "interface" (noth...

How to Hide MKAnnotationView Callout?

Hello, i'm trying to hide an AnnotationView without touching the pin, is the possible? Thanks! for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) { } } ...

iphone sdk textbox

I'm learning programming iphone app. i need some help making a scrollable textbox with a image background. like the ipod music player with lyrics. thx ...