iphone

Changing Backlight Level, iPhone

Hello all, I searched around for a way to set the backlight level within an app on the iPhone. I found a solution here: http://www.iphonedevsdk.com/forum/29097-post3.html The problem I have is, when I add this to my app I get an error and a warning. My code is as follows: #include "GraphicsServices.h" - (void) viewWillAppear:(BOOL)an...

twitpic API not connecting (multipart/form-data) objective-c

I've put together this code from lots of research. Information on the twitpic API is here: http://twitpic.com/api.do#uploadAndPost Through debugging i can tell that the dictionary is good, and that it gets through all the methods, the request gets submitted, but then the NSLog method returns <>. I'm not sure where I could be goin...

Core Data Malloc Errors

Hi there, I've noticed I'm getting a few errors at random points in my app. I've had 2 errors, "double free" and "incorrect checksum for freed object". Heres the stack trace of a "double free" error. Can anyone provide any insight? It's happening on a call in my code that just sets an attribute to an NSNumber so I can't understand why i...

What are all the debugging tools available for the iPhone?

I'm looking for a comprehensive list of all tools for debugging iPhone apps, and any online resources relating to them. ...

touchesMoved:withEvent.

Hi, I got the coordinates of touchesBegan and touchesEnded. But in touchesMoved can I get all the coordinates of the touch from touchesBegan to touchesEnded. I mean that when I put finger on screen and dragged to some position and then I lifted it. So, can I get all the coordinates of the starting position to end position. If possible, ...

What is minimum hardware and software requirements for Iphone native apps development?

Can i develop and test iphone native applications on windows pc and testing in any iphone simulator? If no then, What is minimum hardware and software requirements for Iphone native apps development. I want to make development environment setup in minimum possible price. ...

Currect location of the object inside UIScrollView

Hi, I created UIScrollView and added large image inside of the scrollview to scroll. My question is how should I know the current location of the image that I added inside of the scrollview like its X and Y? Like for example, I scroll the image horizontally then and I want to know what its new X and Y value of the image. Thanks ...

iPhone midi implementation

i want to synchronize my app to an external midi clock. does anyone know of any code base to do this on the iphone? i dont want to generate midi events i just want to respond to timing information ...

will self.navigationItem.rightBarButtonItem support Array?

hi i want to include segmented control in navigation item with flexible space.bcos it has 2 control .. i want to bring in the center....i tried follow .. will u help ? ...the line... self.navigationItem.rightBarButtonItem = [NSArray arrayWithObjects:segmentBarItem,flexibleSpaceButtonItem,nil]; gives error? UIBarButtonItem *segment...

how can I integrate the existing project written in C with the iphone view-based application project?

I would like to ask that if I have a project written in C and another project of view-based iphone application. How can I access that C methods, properties from the C library while I am working in the iphone project, I mean, how can I use the C project in iphone app? Any help would be appreciated, Thanks. ...

how can i detect touch on already selected UIBarButtonItem?

how can i detect touch on already selected UIBarButtonItem? if i touch UIBarButtonItem , it will be selected..but if i touch the same again, how can i identify it ? any help please? the code is as follows.. initWithCustomView:sortToggle in which sortToggle is segmented control... UIBarButtonItem *sortToggleButtonItem = [[UIBarButtonIt...

Strings in Objective C for Iphone

Hi , i am new to iphone application development. i have a string say abc, i just want to display it as "Hello abc" in the screen i want to add Hello to abc , before abc. In objective c, i saw functions appendString , which displays result as "abc Hello" But i want to display i as "Hello abc" ...

TableView in iPhone

I have a very long string that i need to display in the first row of the table view. The string is like "1|123|Try|Bank Of America|11/06/2007|20,000.00" where | is the tokenizer. Now I take the first token ie 1 and append String "\n", so that 123 is displayed in the next line of the row of table view, but I can just display 1 and 12...

identifying event on Tableview controller and also Tabbar controller?

hi,i have two questions here..? if i scroll my tableview,how can i identify it...is there any method to identify it? any help please? if i touch already selected Tab bar item ,can i identify it? any help please ...

Wipe all data stored with CoreData when the model has changed

I have an app that fetches data from the internet and uses CoreData to store them in the device, for a smoother experience. Because I use Core Data, every time my schema changes, the app crashes when I try to run it with the previous data stored on the device. What is the fastest way to detect this change and wipe all the data from the ...

How to resolve this rotation problem?

Hey there For sure this is very trivial math stuff for some of you. But: When I rotate a view, lets say starting at 0 degrees and rotating forward 0.1, 1, 10, 100, 150, 160, 170, 179, 179,999, and keeping on rotating in the same direction, this happens, to say it loud and clear: BANG !!!! BAAAAAAAAANNNNNGGGG!!!! -179,9999, -170, -150,...

Printing from the iPhone

Are any libraries available that facilitate printing files (TXT, RTF, etc.) from the iPhone/iPod Touch? ...

iphone file system save file from url

hello guys, i want to save a photo file from a given url to the documents folder of my app without giving it a filename just the url and it saves to disk, is that possible ? or do i have to get the data from the url and then parse it as UIImage then save that image to disk and give it a filename ? if there is no direct way, how can yo...

iphone sdk: Movie Player in UIWebView

Hi guys, As we all know if I want to download an mp4 file a iphone's movie player (MPMoviePlayerController) pops out and plays the video. My question is if I can get some kind of a message that it pops out or perhaps even to prevent it from appearing? Thanks ...

UITableView cells do not stay selected when pushing a view

I have a UITableView on a view. This UITableView has cells which are made up of a checkbox custom control, a label and a disclosure accessory. When I select a row in the tableview it selects correctly (blue highlight shows 100% correctly). I then created a didSelectRowAtIndexPath delegate to push a detail view controller onto the naviga...