iphone

How to check which UIViewController is active.

I need to check which UIViewController is active so I have implemented some cases depending upon the result. [self.navigationController.visibleViewController className] This always returns null. I am checking with this statement: if([iDetailController isKindOfClass:[IDetailController class]]) but it fails, kindly help me if I am...

How can I receive location updates while my application is in the background?

I am working on an application that responds to updates in a device's location. How can I allow my application to continue to receive location updates while it is running in the background? Also, how can I present a notification to the user when they have entered a specific location? ...

removing the current view from the tabbarcontroller

hi how to remove the current view displayed on tabbar controller. the view is added using [self.tabBarController.view addSubview:myView.view]. What should be done in myView to remove this view. ...

Downloading route details from google map.

I want to draw a route in google map with desites A & B directions specidied,I am able to do this through google directs ,thanks to goole..No i want to create a static map with only that route and hence i need to get all the latitude and longitude details into CSV for 100M distance of this route. Is there any possible way as currently ...

connecting with databese

i am a new iphone developer i am facing problems to connect my applications to my database sqlite3 i went through many tutorials on google but not able to understand please provide easiest way to connect with database actually i want to take a name from database when i click a button please help me ...

best book / resources for learning iOS programming?

Which resources did you find useful for learning iOS programming? Books? website? videos? ...

Accessing data from server through php in iphone

Hi all, I am using this code for accessing data from server, NSString *post = [[NSString alloc] initWithFormat:@"Email=%@",GEmail]; NSData *postData = [post dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]; NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]]; NSURL *url = [NSURL URLWit...

Are there limitations for playing video over wifi/3G on the iPhone?

I have an app that is playing archived *.mov files from a server. Some of them are longer than 10 minutes. Is this ok? Can anyone point me to the guidelines for playing video? ...

Parse .ics file in iphone

How to parser .ics file in iphone ? Thanks in advance ...

email authentications

hey can any one suggest me is there any API or example for authenticating email addresses in iphone app ...

Apple Push notifications server - Feedback always returns zero tuples

Hi, I am developing an iPhone App that uses Apple Push Notifications. On the iPhone side everything is fine, on the server side I have a problem. Notifications are sent correctly however when I try to query the feedback service to obtain a list of devices from which the App has been uninstalled, I always get zero results. I know that I ...

Unable to play video using UIWebview in OS 4

I was using UIWebview to play a video in portrait mode. It was working fine in case of iphone OS 3.2 . Some times ago i updated my iphone OS to 4.0 then problem came(No video player is coming now). My current build version of application is 3.1.2. Thanks a lot for any kind of help. ...

rotate image in UIimageview ??

i am trying to rotate an image of a pencil in uiimageview when user swipes in a particular direction on the imageview by using the following code -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { CABasicAnimation *fullRotation; fullRotation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"]; fullRotation.fr...

UUID mismatch detected with the loaded library

UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit When i run my App i get this error every time please suggest. ...

Scanning a string line by line

I have an nsstring with 50 of lines i want to scan a particular string using nsscanner scanning each lines. Is it possible ? Can anyone help me? Thanks in advance...... ...

Distributing iPhone apps under Enterprise program

I'm trying to figure out more details on how apps are distributed to users when under the Enterprise developer program. The Enterprise Deployment Guide states: If you develop an application that you want to distribute yourself, it must be digitally signed with a certificate issued by Apple. You must also provide your users with a dis...

Creating empty abaddressbook iphone

Hi guys, i am new to this ABAddressBook in iphone. I would like to create an empty AddressBook and also add or remove records dynamically, so that we can add filtered contacts to it. I tried to remove record from the AddressBook but it resulted in some exception. Please try to tell me why this happens... ...

get url from embed code

hey, this question may sound silly but i had to ask this. i am trying to develop an app which will display video from a website. i have the link for the player+video as below: http://player.ooyala.com/player.swf?embedCode=1idm9sMTr6aCXKW3xks00H_JzylBWvxO&version=2 Here, what i want is to get the path from where the player is getti...

How can I tell whether a microphone is available on the device (iPhone, iTouch, or iPad)?

If the device has a microphone, I would create audio device as "play and record". If the microphone is not available, only "play" audio device can work. ...

Animate till a certain index

Hello I have an array of 1000images. I need to sometimes animate till a certain index, but not everytime. Is there a way to specify this in the [myImageView startAnimating]? Thanks ...