iphone

Change xcode's environmental path variable

I migrated from iphoneOS3.1.2.sdk to iphoneOS4.0.sdk and had to re-reference all frameworks. The old OpenAL reference is getting stuck in the build script as I see the new one but the old one is also there: Ld build/Debug-iphonesimulator/AweTrainGameEngine.app/AweTrainGameEngine normal i386 cd /Users/yuri/Desktop/AweTrainGameEngine ...

Push notification not working with HTTPS

Hi I have used push notification for my project & was working fine with HTTP connection. Server was responding well. Now Its not working with HTTPs . Please guide if any one figure it out. What's the solution ? ...

Getting a series of methods completed before UITableView delegate methods are called

Hi. I have a bunch of connection related methods that I need to execute before the table is actually being populated (before any of the delegate methods for a UITableView are called). The connection methods will add objects in a NSMutableArray that will later be used to populate the table view. Is there a way to tell the iPhone to wait...

using OAuth authentication in iphone for twitter

Hey guys I am trying to implement the twitter for posting the comments about my music application.For that I use OAuth authentication twitter but it give me error please help out I didn't know anything in this. it show's me this error "'TWITPIC_API_KEY' undeclared (first use in this function)" if i need some key in this than where to...

Route Map in iPhone

Does iPhone sdk supports route between two places on Map? I have searched many times. But not able to find any reference. Even on apple iphone development forums, there is no such thing available. I have done this functionality using google map url. In which I have to pass source and destination latitude & longitude. I am getting the m...

iOS 4 resume from background

Hello guys! It is possible to get a notification or something when the user opens the application, but the application was in the background (so it wasn't closed)? ...

EXC_BAD_ACCESS after calling popViewControllerAnimated

I'm getting an EXC_BAD_ACCESS after calling dismissModalViewControllerAnimated on my view controller. My project is based on the table view starter project, and RootViewController creates a view like this: GobanVC *vc = [[GobanVC alloc] initWithNibName:@"GobanVC" bundle:[NSBundle mainBundle] coll:c]; [self.navigationController pushView...

how to save an array to file and load and ask if it contains a specific file

i have this array called favorites referenced in my app delegate. When i access it in the view controller i use this code MultiViewAppDelegate *app = (MultiViewAppDelegate *)[[UIApplication sharedApplication] delegate]; [app.favoritesArray addObject:@"one"]; And in the table thats supposed to display this information im trying to ...

fbconnect logout memory leak

Hi everybody, this is the first time I post a question here. Usually, I found help on web for my Iphone projects problems, but here I am REALLY STUCK ! I use the facebook iphone-sdk to post some infos on a user's wall. Everything works fine. But I have a leak memory when I logout with the fbconnect loginbutton. Here is the code I used ...

Objective C - KeyValuePair class?

I'm looking for a class in Objective C similar to C#'s KeyValuePair (even without the generics). Just anything that has a first/second object. I can create my own with no problem, but I figure if one is already there, then there is no need to re-invent the wheel. I have not had any luck findind one myself... Does anyone know of one? ...

Displaying MKAnnotation callout automatically

Why doesn't this work? - (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views { if (TRACE_LOG) NSLog(@"%s", __FUNCTION__); [mapView selectAnnotation:[views lastObject] animated:YES]; return; } Thanks, Z@K! ...

How can I prepopulate "Add Event" fields when user clicks date in iPhone UIWebView?

Since iOS3, the UIWebview component has had the ability to automatically detect and highlight dates within a UIWebView. Pressing the date brings up an actionsheet with an option to "Create Event" in the local calendar app. Unfortunately, the modal dialog that appears next contains ONLY the date, and no other information about the event. ...

iOS custom URL scheme for contacts app?

Hi Everyone, So I am trying to write an app that does a person search of my company. When it returns a result, I want to include a feature to add the person to the iPad contacts app with the push of a button. The problem is I can't find a way to launch the contacts app through a custom URL scheme with the person info as parameters. Do...

How many iphone devices we an connect via bluetooth or wifi ?

maximum How many iphone devices we an connect via bluetooth or wifi at a time ?........i need to connect 10...is that possible.......?? ...

iPhone Configuration Utility for Windows Error

Hello all, We are getting an error when deploying an iPhone application to iOS 4 using the Windows configuration Utility, 3.0. The application loads great using the configuration utility on a mac, fails on windows. We have confirmed that the provision is copied onto the device, it's just the app. The error is: Could not install...

uikeyboard return

Hello all, I have one view name:myplay.h and myplay.m my view contain one textfield name txtplay.. It contain one button name btnplay. In button event i want to check that if uikeyboard is open then close it. I know below code - (BOOL)textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponder]; return TR...

iphone's safari touchmove event not working.

i am using jquery and touchmove event but the code is not showing anything in #info $('#movieShow').bind('touchmove',function(e){ e.preventDefault(); $('#info').text(e.touches[0].pageX); }); ...

iPhone Banner Ads

Hey All Im coming to adding a little advertising bar at the top of one of my apps. Its the first time im venturing into in app advertising. Just wondering what people have used and what is the best way? Can i use my google adsense? What is this iAd all about? Does that offer PPC like adsense? Look forward to your feedback. Alex ...

adding a navigator controller + view to window not rotating to landscape

Hi, I have a tabbar based application. The tabbarcontroller is on the top of the window. I tried to add a navigation controller+view on the top of the window. It works fine. but when i try to press the button which actually intiates this in landscape view it is still getting displayed in the potrait view. I set those parameters in shoul...

Objective C/Xcode error: The file “Info.plist” couldn’t be opened because there is no such file.

Hi I hope this error doesn't sound stupid. However, I receive this error and I don't know how to fix it. What happen is that I deleted the whole Resources folder before and copied in a new Resources folder. Could anyone help me fix this? Thanks. ProcessInfoPlistFile /Users/tohchinsheng/Documents/cocos2d-output/Debug-iphonesimulator/U...