iphone

Where can I find updated, live exchange rates?

How do I link live currency exchange rates to my iPhone app? First, anyone know any sites where I can get the exchange rates? And second, how do I link that to my app? I want to do what this app does. http://the-dream.co.uk/currencee/ ...

Preference Pane

How do I create a preference pane for my app on Mac. Also, how do I make a preferences section for my app in the iPhone? Thanks for reading. ...

Why does my iPhone toolbar only animate the first time?

When I added a toolbar below a UITableView I want to show an activity indicator and label for few minutes to get values from a URL. I added this code in my project: NSArray *toolbarItems = [NSArray arrayWithObjects:[[UIBarButtonItem alloc] initWithCustomView:actview], [[UIBarButtonItem alloc] initWithCustomView:label], nil]; [toolbar ...

Are the WWDC 09 session videos Fairplay-DRM protected?

I would like to buy the »WWDC 2009 iPhone Session Videos« from ADC. But I want to view them on my TV which is capable displaying mp4/h264 m4v (mov) files which you could grab for free on ADC@iTunes some time ago. Somebody knows if the iPhone WWDC 09 videos comes without any DRM, too? Because my TV isn't able to display rented movies fro...

Error: CLLocationManager headingAvailable

I have the following code: In my .h-Header-File: #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> @interface Compass : UIViewController <CLLocationManagerDelegate> { [...] CLLocationManager *locationManager; } [...] @property(nonatomic, retain) CLLocationManager *locationManager; @end And my .m-File: #import "[FILEN...

using applicationWillTerminate to delay shutdown as long as possible

I've noticed that several iPhone apps, especially some more graphically intensive games take quite a while to exit when the home button is pressed. My question is, weather it's possible to artificially recreate this situation, the reason being, that I'm trying to implement a sort of "phone protector" that starts making loud noises when ...

IPhone Application Size

I have developed an IPhone application and i would like to know what will be the size of the application when installed in iphone. I am using xcode 3. Can anyone please help me to find the size of the application? ...

should we need to release viewcontroller's object after pushing into navigation controller?

here is sample code. if(MyPageViewControllerObj==nil) { MyPageViewController *vController = [[MyPageViewController alloc] initWithNibName:@"MyPageView" bundle:[NSBundle mainBundle]]; self.MyPageViewControllerObj=vController; [vController release]; noOfWrongAnswers=0; noOfRightAnswers=0; } MyPageViewControllerObj.sessionid=s...

Using custom font

I want to use custom font in an iPhone application. I have already two file 'font suitcase' and its supported file 'postscript type 1 '. I am using like this: NSString *fontPath = [[NSBundle mainBundle] pathForResource:@"Myfont" ofType:nil]; if( fontPath == nil ) { return; } CGDataProviderRef fontDataProvider = CGDataProviderCreateWith...

scrollview scrolls smooth in simulator but not in device?

i have page control sample from apple and using it in my application... in my application scrolling is running smooth in simulator but when installed on device it is not smooth. does someone knows about it? i am also doing some flip animation.it's also not running smoothly ...

When to use a UIAlertView vs. UIActionSheet

Are there situations where a UIAlertView is better to use than a UIActionSheet? What are the typical scenarios where you would use one over the other? I'm programming a navigation bar button to open a UIWebView in an external application, and at first I started programming a UIAlertView, then I thought that an action sheet might be bett...

Can we run Java applictions on iPhone?

Hi All, Can we run or develop apps for iPhone in Java? Actually I am a bit confused... Please bear with me,have a look to these links and answer:- LINK 1 LINK 2 LINK 3 This is an Open discussion. All ideas are appreciated. Thank You All. ...

Issue with receiving touches for a UIView subview of a MKMapView using MapKit

I have added a subclass of UIView as a subview to an MKMapView when a button is pressed. The UIView has its background colour set to be clear. This UIView is not getting messaged with any of the touchesBegan, etc. messages. The MKMapView seems to be receiving all the messages still as zooming still occurs on a double click, etc. How ...

Modal view becomes 2x wide?

In my application, I would like a modal view to present itself when the app starts up and there is no wifi. I have code like this in the applicationDidFinishLaunching: UIViewController *modalViewController = [[UIViewController alloc] initWithNibName:@"ModalDisconnect" bundle:nil]; [[self tabBarController] presentModalViewController:m...

How to close a callout for MKAnnotation in a MKMapView

I have a MKMapView that has a number of annotations. Selecting the pin displays the callout and pressing the accessory pops a new viewcontroller onto the stack. However when I press back from that new VC the callout is still open. How do I close it? I have tried if([[myMapView selectedAnnotations] count] > 0) { //deselect that anno...

What's the quickest way to learn objective-c for a PHP experienced developer?

Hi Everyone, I am not sure if StackOverflow is the right service to ask this question but I believe it worths to try. I am an experienced PHP developer and now interested in building some iPhone apps. I have searched on Google for tutorials about objective-c but couldn't find a good one for beginners. Do you have any suggestion, somet...

Core data: I want the pk in my fetched objects

I want to have the pk in my fetched objects, so i can use the unique pk number for a unique image filename. But i can't make it work, i just need a unique filename for my images. Does somebody has a solution for this? When i NSLog object ID i get this: NSManagedObjectID *ID = [someThing objectID]; NSLog(@"ID: %@",ID); Output: ID: 0x1...

iPhone help on using XMLParser and UI while waiting for results

Hi, can someone provide a little guidance on the best way to handle iPhone UI and processing while parsing a SOAP message? Here is the context: I have an app that allows a user to select a car (from a list of cars) they are interested in viewing. When they pick a car, I push a carDetails viewcontroller that shows the car detail categ...

Can iPhone auto redirect be disabled if user wants to view full site?

I am basically producing a simple, watered down, iPhone specific sites on a sub-domain of the original. I know of various auto redirects, like the htaccess & user agent scripts/rules that take the user straight to the iPhone specific site, but these scripts do not cater for someone who has come from the iPhone specific site that wants t...

how to flip UIImageView

how to flip UIImageView ...