iphone

Took over iPhone development on an app from another developer and getting code signing error..

I am able to get the software to build and run in the simulator and when I set it to device I get a code signing error as it has the previous developers code signature. How do I get it to use my provisioning profile. ...

What technology are they using in this Shopkick demo to achieve pinpoint geoLocation?

I know they have some hardware installed around the store but what does the hardware do and how is it interpreted by the app? (at one point they show hardware attached to the celling in one of the locations they are in) WOAH sorry forgot the link, http://techcrunch.com/2010/08/03/shopkick/ Thanks! ...

Disclosure Indicator and Detail Disclosure

I have a table view cell, which is acting like button, performing some action without additional user interface presentation, then it will update the same cell with results of action. What type of accessory would be appropriate for such cells? I would like to know in which cases I should use the subject types. ...

how to fire a alarm after 2seconds on iphone

i want to fire a alarm that will ring after 2 secs ,how ti handle alarm code any help? Thanks ...

Convert string into variable

If in a class, I have a instance variable: nsstring *foo, now I want a create a variable with a string @"foo". exemple: I have the string @"foo", and with this string, I want a do: myobject.foo. thx, Alex ...

looking for browser space for iphone

whenever user surf internet form iphone the browser share some space of iphone memory now can i access that memory form my app actually i want to install SQlite on the fly to my app form web and next time it can update its own data plz help Thanks ...

IPhone Development - UIDatePicker date from NSString

Hi all, I'm trying to set the date of a UIDatePicker but I the month is everytime "January"(01). I tryed to use "MM" and "LL", but both of them are not working. My code: -(void)viewDidLoad { [super viewDidLoad]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"YYYY-MM-DD"];; ...

Can a deactivated iPhone be used for app development/testing?

I'm thinking of upgrading my iPhone 3G and was wondering if I can continue to use it for appstore application development & testing after I do so. I don't want to continue to pay for an additional line and data plan, and I wouldn't be interested in using is as a phone. Would I be able to provision and debug on it? Would it have to be jai...

UIWebView stops working after loading an embedded Google Map

I have an iPhone app that loads a client website into a UIWebView. Navigation between different parts of the website is provided by a UITabBar. A couple of the client pages have embedded maps or links to map sites (Google Maps and whereis.com.au). When the UIWebView has loaded the embedded map or visited a linked map, it stops working. ...

How to diagnose a KERN_PROTECTION_FAILURE

I am getting an interesting crash that I can never seem to replicate on the simulator: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000008 Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x3212e86c 0x3212c000 + 10348 1 StockTwits 0x00016b06 0x10...

iOS app, classes suddenly vanish, crash in alloc

This is a weird one. On and off as I have been working on my application, this problem has popped up, and then it has always mysteriously vanished. Today it is refusing to vanish. My app uses two view controllers to handle auto rotation. Sometimes, Objective-C can't find my classes. For example [OneViewController alloc] will crash. ...

Can canceling a NSURLConnection lead to problems?

Before my view loads I call: [theConnection cancel]; //assume theConnection is an NSURLConnection I then proceed and make my proper NSURLConnection. Will calling cancel before a connection is even made cause any problems? ...

Cann't close the UIAlertView

Hello All, I do like: ... **//some methods of myButton inheried from UIButton** -(void)timerFireMethod:(NSTimer*)theTimer { UIAlertView *alert = [ [ UIAlertView alloc ] initWithTitle:@"hello" message:@"alerts" delegate:self cancelButtonTitle:@"cancel" otherButtonTitles:nil ]; [alert show]; } -(void)touchesBegan:(NS...

Document directory structure after Updating version of the application

What is Document directory structure after Updating version of the application ? is it replacing old with new Document Folder ? or it is just updating document folder ? please help.... ...

error lauchoptions undeclared IOS4 ??

application.applicationIconBadgeNumber = 0; // Handle launching from a notification UILocalNotification *localNotif =[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey]; if (localNotif) { NSLog(@"Recieved Notification %@",localNotif); } return YES; i am getting lauchoptions undeclared my os veriosn is 4 ...

[iPhone] decoding the CLLocationAccuracy const's

the following are listed in CLLocation.h but from my experience they are deceiving names- possibly originally thought up to serve two purposes, 1. to test the accuracy of the location returned, but also 2. to set how hard the location manager works, specifically what is enabled (gps (how many sat channels), how hard the wifi works, trian...

How to add action to one dynamic button in one UIView Control to move back to UIViewController...

In my application, i am using UIViewController and dynamically created UIView.In that view dynamically created subviews(UIButton and PickerViewController)..I want to display selected picker view value in a label control in UIViewController... How to add action to this button to move back to UIViewController... ...

Is it me or xcode... Somethings wrong with my braces and it just causes errors! Please help! iPhone SDK + Urban Push

Help! I cant find whats wrong. My code is up and mostly running and i needed to incorporate Urban Air push notification and there is something wrong with my code. If there is a better or different way to incorporate this that works without my errors I would appreciate that. I took this code from a tut of Urban Airmail. I wasnt sure wha...

refresh a view in iphone programming

i want to refresh my current view when i click a button how to do this ...

Changing UINavigationController from UItabBarController

Hello!, I have a tabBarController with 4 tabs. In the fist one I need to show an UINavigationController which has a UIView in it. When the user presses a button inside that view I need to display another UINavigationController in tab 1 replacing the old one. Is this possible? I tried using this code with no luck UINavigationController ...