iphone-sdk-3.0

Plist information in iphone project

what are the information to be shown on Plist in iphone Thanks in advance ...

testing an in app purchase??

i developed a application with in app purchases..when user buys the subscription it gets stored on my server..after testing it few times i deleted the data from server to test it again but when i buy it the sandbox environment says u you already purchased this.TAP OK to download it again for free also i have used this test account ...

Is it possible to use xib file in cocos2d

Hi all, I am creating application in cocos2d, but one thing I would like to know is it possible to use xib file in cocs2d as we are using in simple iPhone application creation? If yes then how to make call to such xib files, can any one tell me the answer, is is possible or not? Thanks in advance. ...

using a test account for in app purchases??

i created in app purchases in my application.But still my test account doesn’t work fine. When i test my application using test account the sandbox environment asks me to buy the product and after buying it asks me to buy the product again straightaway. Is it some problem while using test accounts or is there a problem in my coding?? thi...

How to properly use CoreData validation & error framework ?

I've created a model in Xcode, and for various attributes I have minimum & maximum values defined and that are enforced by coreData at runtime. I'm using NSManagedObject validateValue:forKey:error to check for user input values. I was a bit disappointed to see that the localized error message is not specific, and I get a "The operation...

per build configuration files on iPhone ?

I'm looking for the best way to store per-Build configuration information for an iPhone app. In my iPhone app there are several url's and storage location settings that are specific to a particular build (DEBUG RELEASE etc) Currently i have three recipients for my app, QA/Test, myself and the customer, each has specific settings for th...

How do I clear the queue of a MPMusicPlayerController?

I'm trying to replicate the clear queue functionality of the iPod application, however I can't create an empty MPMediaItemCollection with which to call setQueueWithItemCollection: e.g. [self.musicPlayer setQueueWithItemCollection:[MPMediaItemCollection collectionWithItems:[NSArray array]]]; where musicPlayer is a MPMusicPlayerControl...

UITextField in ImagePicker

Hi, I am developing an application for iPhone which needs to capture a picture using camera or pick a picture from library and add a caption to it .Is it possible to customize the toolbar with Cancel and Save button showing after picking an image.I need to add uitextfield in this preview view to add a caption.Looking for a siolution Th...

Can we ask user for credit card number or paypal details,store credit card number on our server, can we use SSL in iphone application for transaction?

Can we get credit card number from user or paypal details & use them for premium service of our application ? is apple accept this application if we directly get this information & use it in our api on server for transaction. Using ssl will be accpted by apple ? I have check from 1) http://stackoverflow.com/questions/1763306/credit-c...

TouchXML parsing error

Hi, I have a xml document which has only one element in the document. This is the whole document. <?xml version="1.0" encoding="UTF-8"?> <error>key ! is invalid</error> But when i try to parse it, it says this document has no element at all. In other words when i try to access the rootElement it says "null" Here is the code i am usi...

Access call log in iPhone

Hi All, Can I access the call log of iPhone through application. Is this feature added in iPhone OS 4.0??? As what ever I searched for OS below 4.0 and it is not there. Thanks in advance, VIshaL ...

CLLocation manager issues with iPhone OS 4.0

The location manager delegate methods are taking too long time to determine the latitude and longitude in 4.0 , where as it is much faster in iPhone OS 3.0, 3.1, 3.1.3 etc. Any way to make the call faster ??? ...

Using GraphicsServices to send a fake touch event to Springboard

I am attempting to use the GraphicsServices framework to send a fake touch event to Springboard. I am writing this application in XCode and using it from within a .app, although I use Backgrounder to send the majority of the system events (to other applications or Springboard itself). I doubt this will cause any issues, but I could be w...

How to make iPhone universal binary for iOS4 and iOS3?

It is possible to make universal binary for os 2.x and 3.x, you can see sample code for MFMailComposer But how to make it for iOS4 and iOS3 and XCode 3.2.3? ...

How do I get the users location latitude and longitude?

I need to access the users location in this method contained in the mainViewController -(void)loadAnnotations{ [mapView removeAnnotations:mapView.annotations]; CLLocationCoordinate2D workingCoordinate; workingCoordinate.latitude= //here i need the users latitude workingCoordinate.longitude= //here i need the users longitude NSLog(@" th...

iphone simulator crashes when it tries to access user location

for some reason my code causes my program to crash. does anyone know why or how to fix it? NSLog(@"here"); CLLocation *location = [locationManager location]; [mapView removeAnnotations:mapView.annotations]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; CLLocationCoordinate2D workingCoordinate = [location coordinat...

How can i get minimum and maximum latitude and longitude using current location and radius?

Hi!I want Minimum and Maximum Latitude and Longitude Using Current Location.Suppose i have give the area of 20km so using that latitude and Longitude i want Maximum latitude and Longitude and Minimum latitude and Longitude also want all latitude and Longitude in between this so how can i get it.How can i use of radius in it.Please help m...

How to put your application on your iphone?

So I made my first iphone application; I want to test for memory leaks and the general feel and design of the user interface, so how do I put it on my iphone? ...

Store Observer not being called always

Has anyone else here experienced problems with their Store Observer class not being called always when the user for instance cancels a request (or purchases something) We just had our update that brought in app purchases go live last night, and before that we had obviously tested everything tons of times against the Sandbox and everythi...

Double clicking on map annotations

I want to zoom in on an annotation after double clicking on it, but I cant seem to find a method in the developer documentation that does this, So how do I zoom in on a double clicked annotation? ...