iphone

iphone artoolkit compass problem.

Hi guys, I am using artoolkit for iphone. When i go to augmented reality view and start the augmented reality mode and then when i return to home page the augmented reality stays running in the background i don't know how as i have closed the view. it gives me compass message again and again on the screen. Can anybody help me in this r...

Using bookmark button in UISearchbar.

How can we use the bookmark button that appears in UISearchbar. I didnt found any delegate methods for that. Any help will be greatly appreciated. Thanks in advance! ...

iphone: can i detect a url type?

I'm currently creating a twitter client for iphone. Basically, I have three kinds of url types I want to handle: Standard URL's (e.g. http://www.msn.com) YouTube URL's URL's containing links to a stream. When a user clicks a link.. instead of launching the web view and letting the webview decide whether to load quicktime player & y...

loadView vs xib - iPhone

I want to know if there is any advantage in using loadView method instead of xib for a ViewController. Are there any advantages in terms of memory management or speed ? ...

How To delete Event from Iphone Calendar Programmatically?

How To delete Event from Iphone Calendar Programmatically? I am trying to delete Event From Iphone Calendar tell me how to delete Event From Iphone Calendar Programmatically Here Is the way to add event in iphone calendar ////// Saving Event In Calendar EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *event ...

UITabBarController tab nonfunctional

Scenario: UITabBarController has three tabs corresponding to each of three view controllers which are successfully instantiated / initialized. On launch, the second tab is selected automatically, and one can toggle back and forth between the second and third tabs. The first tab, however, does not respond to taps. One cannot switch ...

iPhone applcation crash in admob_iphone_sdk_20100818

My program has crashed: #0 0x3138cec0 in objc_msgSend #1 0x0002bb6e in -[AdMobDelegateWrapper didYouNilOutYourDelegate:] #2 0x0002c392 in -[AdMobDelegateWrapper publisherId] #3 0x0001ab7e in -[AdMobAd buildParamsWithLastClickInfo:] #4 0x0001b044 in -[AdMobAd requestAdFromServer] #5 0x0001963c in -[AdMobAd b...

where should model objects be instantiated for programmatic MVC development on iphone

I'm still fairly new to iphone development, but I'm in the process of moving away from Interface Builder, as I prefer to build views in code. When working in the MVC paradigm though, I'm trying to figure out the best places to 'start' M-ish things; in other words, where to start firing up my model objects and where's the most logical pla...

ModalViewControllers are dismissed but not destroyed?

I have a UIViewController that implements <NSFetchedResultsControllerDelegate, UITableViewDataSource, UITableViewDelegate> and I present it modally (within a nav controller) from my main view controller. It dismisses itself via: [self.navigationController.parentViewController dismissModalViewControllerAnimated:YES]; I thought this wo...

How to configure libMMS in iPhone?

Hi, Do anyone know how to configure libMMS for iphone application. I have libMMS library downloaded and I need to configure it in my application. But it gives reference error when I call some function of the library. Please tell me steps to configure libMMS. I am in the critical situation. ...

iPhone Cocoa Touch: Adding additional view or sub view to views.

Dear All, From What I understand based on what I read, most of the time we will be dealing with view when creating apps for the iPhone. Adding sub view to table view, adding table view to a UIView....etc So my question is how do I go about mix and match all the views? Let say I start off by using a template in Xcode (Tab Bar Applicatio...

Using a BOOL Variable in a app Delegate : makes pointer from integer without a cast

Hello, I`m doing something wrong with my app delegate, I'd appreciate if someone could have a look at this one . My AppDelegate.h : { BOOL *moveState; } @property (nonatomic) IBOutlet BOOL *moveState ; My AppDelegate.m: @synthesize moveState; and my ViewController from where I'm trying to set the moveState value : AppDelegate ...

I have question related to topviewcontroller

Is there any way to replace PopToRootViewController by PopViewController? I have six views ,2 nd view is pushed by 1st and ,and so,on............... If i'm on sixth view and there is 1 button is over there and on click of that button [self.navigationController PopToRootViewController:YES]; It will go back to me to the 1st view but i wa...

Export SMS from Iphone in a Data/file format and Import that file data into another format

Hi All I want to take backup of sms from Iphone using cocoa touch(Iphone App) in a file format and then import that file to other iphone How we take backup of all sms using cocoa touch Thanks Amit Battan ...

problem while getting images from xml file

hi i am new to iPhone.what i need is i have to get images from XML file.For that what i did is creating a XML file with code as fallows <?xml version="1.0" encoding="UTF-8"?> <Allcategory> <image>parrot.jpg</image> </Allcategory> And i am adding the image in local folder and calling the image in my class for that i am write the code a...

Cleaning up hanging NSURLConnections when a controller is dealloc'ed

I have a controller that makes HTTP GET requests using a custom class, which acts as the delegate for the NSURLConnection. Once the NSURLConnection fails or finishes, the custom class invokes methods on the controller and passes along an NSData object of received data. I'm running into a problem where the controller in action is being d...

How to override "selected state" image in MKAnnotationView?

I've got annotation views with custom pin images on a map. When I tap and hold on a pin, my custom image disappears and is replaced by the default red pin. This default image appears in its selected (highlighted) state (it looks slightly darker). How can I prevent the selected state image from replacing my custom image? Many thanks. ...

How to authenticate a mobile App without username and password?

I'm building a Webapp that uses OpenId to authenticate users, like Stackoverlfow does. There will be a mobile App too, e.g. Android or iPhone. These Apps have to authenticate or login somehow, to access data and update stuff that belongs to the user. Since there is no username and password one could provide to authenticate the mobile dev...

How to fetch online facebook friends in iphone using Graph API?

Hi Everybody, I want to fetch the facebook user's online friends using Graph API but i am not able to find any help from the net. I am able to fetch the user's friends using Graph API but i want to know who are currently online, also more info about the user's friends like the image url,date of birth etc; I am only able to fetch the u...

how to unzip file in iphone by programming?

I have implemented one iphone application in which i have download one zip file from the server and downloaded in iphone.Now i want to extract zip file by programming.I dont know how it possible and where the extract data will store. Please help me for this query. ...