iphone

detect and use html code when parsing an xml rss feed for iphone

i have been using and adapting an open source xml parser called MWFeedParser found here: http://github.com/mwaterfall/MWFeedParser the problem i am having is that it does not load images or hold the original html formatting. As in, no bold, no italics, no links, not even paragraph line breaks. Does anyone think they could help me get...

Change Product Identifiers after In App purchases gets rejected??

I developed In App for my application and tested it with a test id and it all worked fine.But due to a different bug my application got rejected.After resolving the bug i resubmitted the application but now pple rejected it saying The subscription in app purchases have been rejected. A rejected in app purchase cannot be reinstated. ...

Stuck on using uinavigationcontroller

I am creating a navigation project on IPhone SDK. In briefly, my project can do a log in action. After I click a log-in button to log in. It crashes.... I Found that it failed in DisclaimerController *disclaimerController = [[DisclaimerController alloc] initWithNibName:@"DisclaimerPage" bundle:nil]; UIViewController *targetViewControll...

help with table views on a uitabbarcontroller

hi all, im writing a news app, and im just planning it out in my head and need some help, before i start coding. my app is a tab bar controller that is loading and displaying info from an xml feed. i am going to start the download of the xml within the app delegate in the background, so the app does not get closed down by the os, howev...

What type of variable do I use to store mathematical operator?

I'm trying to put buttons that have operators on them, like / * +, etc. I want to store the operator in such a way that I can use it in an expression, like 1 var 2 = 8 I would like to avoid having to use a different method for each operator, so an operator var would be my best option, I think. Objective-C for iPhone ...

Find the Speed of Touches and Swipes?

Hi Frineds, I wanted to know how we can find the speed of user's Touch and Swipes. Can some one give a sample for that? ...

Invalid recever type int

Hi! I cant sem to find what would be the problem here... NSArray *oneMove; oneMove = [[bestMoves objectAtIndex:i] componentsSeparatedByString:@","]; int from, to; int temp = [[oneMove objectAtIndex:0] intValue]; from = [temp intValue]/100; //"Invalid receiver type int" to = [temp intValue]%100; //"Invalid receiver type int" NSLog(@...

iphone application landsape mode issue

As my application working fine in Portrait mode but if i change it to landscape mode ,my design look weird,can any one help,is it any common mechanism to design for portrait as well as for landscape mode and which event get fire when we change actual device from portrait to landscape mode ...

How to implement Ticker in my application in iphone

Hi all , I just want in my application a ticker, i have no idea to implement ticker please tell me. Thanks ...

Highligh button when click-create through coding

hey hi, I am creating a button in the view. What i want to know is how to i highlight the button when the user clicks on it and then add the text from my textfield to it. Also please help me as to how i can release the highligted part when the text is entered on the button.!! ...

Variables not getting allocated iphone sdk

Hi all, I'm facing this problem in which my allocated variabls aren't getting allocated even if their retaincount is increamenting after every alloc/retain. NSMutableArray *companyArray = [[NSMutableArray alloc]init]; doesn't allocate companyArray but increaments the retain count of companyArray. If I print the description of it, the...

Unable to configure my App ID in iPhone developer portal

Hi all!! Iam able to create a new apple ID from the provisioning portal from manage tab. But it always shows the app ID as unavailable for Push notification service. Action is to view the details. When i click on that it says, ""Note: Only explicit App IDs can be used to access the Apple Push Notification service. Please use an existin...

MKMapView didUpdateUserLocation not updating.

I have application with map and want to zoom to the current location, when it's updated. I use - (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation delegate method to know when user location was updated. Now on simulator method is being called as it should. But when i test it on device (iphone 2g) t...

UIAlert View-for yes/no condition

Hi,my app needs alert msg and with yes button click another alert msg which decides the final action. I have used - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex this method. Please help me. ...

Analytics services/libraries available for the iPhone/iOS platform?

What analytics libraries/services are there for the iPhone/iOS platform to collect usage data about my application? At least the following services are available: Flurry Analytics Localytics Medialets Preferably the library should report as much as it can automatically, but it should also allow for tracking events defined by the appl...

UIImagePickerController does not dismiss after memory warning

Hi there, I have a UIImagePickerController as a synthesized property of my view controller. In general it works fine (takeing/picking photos, calling back, etc). However, when I receive a memory warning (didReceiveMemoryWarning is called on the view controller), although the app seems to handle it gracefully (viewDidLoad gets called fo...

How to parsing JSON object in iPhone SDK (XCode) using JSON-Framework

Hello All, I have JSON object like this : { "data": {"array": ["2", {"array": [ {"clientId":"1","clientName":"Andy","job":"developer"}, {"clientId":"2","clientName":"Peter","job":"carpenter"} ] } ] }, "message":"MSG0001:Success", "status":"OK" } I want to get t...

executing script on opening a msg in iphone

Hi everybody. I want to perform the following actions. The msg is sent from my app to other iphone. The recipient opens that msg. I want to execute some scripts(like some kind of animation or something) as soon as the msg is opened in iphone. So is this kind of action available in iphone? can i execute some kind of script like perl o...

how to Download and save xml in documents and then how to parse xml file from documents?

In my app app i have to parsing a xml file downloaded from internet. How to download this xml and save in documents on iphone ? and then how can i start the parsing of XML saved in documents?? ...

Save current state while fast context switching - iOS4

Hey All, While going through the iOS-4 Multitasking for fast context switching, I have a doubt regarding save last state of application. Do applications have to manually save the last state in "- (void)applicationDidEnterBackground:(UIApplication *)application"? Or iOS-4 will take care of it? In the video it's mentioned as follows: -...