iphone

Edit Individual Cell In NSArray

Hi I have an array with 10 objects and I put this into a table. How can I edit one of the individual objects in the array or refresh it? All the objects just hold text, so after I change the text how can I refresh the array? See where I am coming from? Thanks. ...

how to add uinavigation controller to tabbar based application

Hello everybody. i am making a tabbar based app. but the problem is i have several views like login view and a tableview that has to be shown before the tabbar view. My problem is if take a tabbar based application it dosnt have a navigation controller, so when i want to push the another viewcontroller from the tableview controller it is...

How to remove plist in documents directory when closed the application in iPhone?

Hi friends, I have stored the data into the plist(documents directory) and retrieved the data from the plist and displayed in the table view. Now i want to remove the plist, when i closed my application. How can i do that?. I have removed plist in my controller. But how can i remove the plist after i closed my application. For Eg : Fi...

How to read and write an NSString with UTF8N?

How to read and write an NSString with UTF8N? I use this to load a UTF-8 file and it seems to work with UTF-8N. NSString *string = [NSString stringWithContentsOfFile:destPath encoding:NSUTF8StringEncoding error:&error]; The problem is when I save the file with [string writeToFile:tempFile atomically:YES encoding:NSUTF8StringEncoding e...

What are the most useful Xcode plugins?

What are the most useful plugins that you have found for Xcode? I'm looking for ones that help to cut your development times. I'm already using ciaran's xcode-bracket-matcher myself, but I would be interested in any others that people have found to be helpful ...

External Data with CompletionHandler not working

Hello, I have been working through some code and I would like to work out how to get around this problem with the GameCenter GameKit. There is some example code (now open to the public, no longer pre-release so I can talk about it). @synthesize playerStorage; - (void)loadPlayerData:(NSArray *)identifiers { [GKPlayer loadPlayersFor...

UIImage from UIView to UIViewController

I am creating a UIImage programmatically in my UIView's drawRect function. Is there a way that the UIViewController responsible for this UIView access that image (or a copy of it) for manipulation? Appreciate any pointers and thanks in advance. ...

Fullscreen button in html5 tag

I'm writing a html5 page with a embedded video tag for iPad. How can I hide or disable the fullscreen button? I just need to show the video without the fullscreen option. ...

SeckeychainItemref undeclared

Hi All, When i am integrating MGTwitterEngine in my app, this error is coming, "SeckeychainItemref" undeclared can anyone tell how to resolve this? Thanks in advance ...

Play youtube videos on iOS4

Hi all, I'm facing a problem with playing youtube videos in iOS4. I'm using the standard method of embedded webview and providing the youtube url to it but it's breaking after a couple of seconds. It's working completely fine in iOS <= 3.1. Also I read that you can't play youtube videos using MPMoviewPlayerViewController. Can anybody ...

How to give correct input date format in iphone?

Hi friends, I donno to give the correct date format of the input date, so please give me to correct input date format. Here my sample code and the date formats. NSString *yourXMLDate = @"Thursday, September 9, 2010"; NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init]; [inputFormatter setDateForma...

Creating a Secure iPhone Web Data Source

I've searched the web for this bit to no avail - I Hope some one can point me in the right direction. I'm happy to look things up, but its knowing where to start. I am creating an iPhone app which takes content updates from a webserver and will also push feedback there. Whilst the content is obviously available via the app, I don't wa...

Best games/physics engines to use?

Hi there Looking for games/physics engines to use for mobile game development. iPhone there is Cocos2D Android I've found RokonAndroid Just wondering if there are any others (better ones) that anyone knows of? Or any that are more cross-compatible? Thanks Tom ...

UITableView allowsSelection property for specific section

Hello , is there a way to set the allowsSelection property of UITableView for each table section separately, and not for the whole table ? Thanks in advance ...

message sent to deallocated instance 0x141dafb0 iPhone SDK

Hey Guys i am getting this error "message sent to deallocated instance 0x141dafb0" its comming from a UIBarButtonItem when its beeing pressed on the application. any help would be greatly appreciated Error: *** -[PeerConnection performSelector:withObject:withObject:]: message sent to deallocated instance 0x14143ff0 PeerConnection.h...

iPhone Individual Audio Files or Single

I am building an iPhone app which contains many different audio sounds/voices. The sounds are like: Find the Clue Number 20 Find the Clue Number 18 There will be at most 20 clues in the application. My question is that would it be better to have 20 separate caf files one for each clue or would I have a single file which contains all...

saving UIImage to file cost a lot of time

I'm trying to load pictures in iPhone Photos app, then save the selected pictures in to my app's folder, using ALAssetsLibrary, and have two issues: 1. the image file saved to disk is much bigger then original files in Photos app, for example, a picture is 2.8MB, but after saved to my app's folder, it's 6.4MB, following is the code: ...

how to go one view from another view using with flip animation in iPhone

Hello, I am flip animation to go from one view to another and animation is working properly but when i am using button action on that view that time application is getting crash. Please help me out to solve this problem. my code is: Abtsk1 *secondViewController = [[Abtsk1 alloc] initWithNibName:@"Abtsk1" ...

MFMailComposeViewController attachment choice

Hi, I'm using a MFMailComposeViewController in my iphone app and I'd like to give the user the choice to attach some pictures to the e-mail. As there is no specific button by default, I was thinking about subclassing MFMailComposeViewController and adding a button for this. Unfortunately, according to the documentation the addAttachmen...

UITextview viewWithTag - updating the text doesn't work while I know I have access to it.

Hey There, your kind help on a small matter. I have a UITextview with a tag // Text view UITextView *currentPage = [[UITextView alloc] initWithFrame:CGRectMake(10, 10, 300.0, 194.0)]; currentPage.scrollEnabled = YES; currentPage.textAlignment = UITextAlignmentLeft; currentPage.tag = 100; currentPage.editable = NO; currentPage...