iphone

iPhone app navigation - Using tab bars / navigation controllers part of the time.

Hi, My basic app has five distinct screens. Three of those screens have TableView data, and I'd like to associate them with a Tab bar + Navigation controller. First two screens use a button click to redirect to the next page. The next three screens use a combination of TableView, Tab bars, Navigation Controllers to navigate / drill dow...

Data disappear tab bar app

Hi all ! I'm in trouble :-) the deal :  I have made a Tab Bar based app, i set up a first UIViewController with a nav controller.  The first controller uses TableView to display Data and push a controller which uses some of the Data in the tableView to display it in UILbel and UITextView. The second controller is made of an Acceleromt...

iphone and ipad development

Can anyone explain how to start with iPhone and iPad development? Dont you have to pay? or is it just pay when you release? I dont see where to get the iPad SDK or anything. I already have XCode 3.2.1 on Snow Leopard. ...

IPHONE SDK, How to put Void function into my BOOL??? PLEASE!

I am using the IPhone's Accelerometer to make a object move. I want to be able to make this function work and not work depending on different states. I have my code for my Accelerometer function and i want to put it into a BOOL so i can call on it when i need it, but i am having problems. Can anyone Help me put this code into a BOOL na...

Objective-C NSArray NEWBIE Question:

Hi I have a weird problems with NSArray where some of the members of the objects in my array are going out of scope but not the others: I have a simple object called Section. It has 3 members. @interface Section : NSObject { NSNumber *section_Id; NSNumber *routeId; NSString *startLocationName; } @property(nonatomic,reta...

UIViewControllers tripping over each other...

Need some best practice advice here... Navigation based application. Root view is a UITableView where user can drill down to a detail UIViewController (call it VC1). User wants to initiate some task but it may require additional info before it can proceed. If so then VC1 allocs & presents modal VC2 using the "flip" transition holding a ...

Is it possible to use UINavigationViewController as one part of ViewController

Hello everyone I have a project in which I have constructed myself's multi viewcontrollers. I also hope to use UINavigationViewController's convenience in one module of function. Is it possible? Welcome any comment Thanks interdev ...

Editig the Audio file after recording and saving it in iphone

Hi, I am new to Iphone App Development. I have created a Audio Recorder/Player using AVAudioPlayer and i also created it taking the speakhere code as base. I have a doubt whether i can edit the audio file(ie insert some audio or delete some part of the file that was recorded like that) after the file was saved and retrieved from NSHomeD...

Streaming quicktime to iPhone/iPod Touch

Hi is it possible to stream "hinted movies" on a darwin streaming server to the iPhone if not, what settings are best to do this? Thanks Tom ...

How to UISlider with increments of 5

How do have my UISlider go from 1-100 by going by 5s? ...

How to debug EXC_BAD_ACCESS that occurs only on release target for an iPhone app?

I'm developing an iPhone application. I have an EXC_BAD_ACCESS that occurs only in the release target; when I build the debug target the exception does not occur. However, when I set the NSZombieEnabled environment variable to YES, I still get the EXC_BAD_ACCESS with no further information. Is it even possible for NSZombieEnabled to work...

How to merge two FBOs?

OK so I have 4 buffers, 3 FBOs and a render buffer. Let me explain. I have a view FBO, which will store the scene before I render it to the render buffer. I have a background buffer, which contains the background of the scene. I have a user buffer, which the user manipulates. When the user makes some action I draw to the user buffer,...

iphone sqlite3 UPDATE with LIMIT and OFFSET clause

Does anyone know if the LIMIT and OFFSET clause work when using the UPDATE statement on iphone. on the sqlite3 website it says "if SQLite is built with the SQLITE_ENABLE_UPDATE_DELETE_LIMIT compile-time option then the syntax of the UPDATE statement is extended with optional ORDER BY and LIMIT clauses.." if not, can it be enabled?...

displaying keyboard raises memory... but it never comes down iPhone

Hello again. I encountered a weird behavior in memory just by displaying the default keyboard. I've just created a project with an .xib file for testing purposes. This .xib file has an UITextField element in it and it's connected in the .h via: @property(nonatomic, retain) IBOutlet UITextField *sometext; The .m has no changes but: @...

clearing multiple text fields at once

I am trying to figure out the code for clearing multiple text fields at once. I know that there is another question like this with answers but could I get a little more information or code examples. I have 16 text fields in my app. Thanks ...

Why is my UITableView getting its images messed up?

I'm trying to get my UITableView to show cells with images placed on them (contained in a UIImageView overlaid). I'm wondering why when scrolling up and down, the images look like they're overlaid on top of one another. What can I do in this case for the sake of memory management as well as to fix this issue? ...

Displaying ppt, doc, and xls in UIWebView doesn't work but pdf does

It looks like a few people on stackoverflow get this to work but their code isn't posted. I'm using [web loadData:data MIMEType:MIMEType textEncodingName:@"UTF-8" baseURL:nil]; where MIMEType is: @"application/vnd.ms-powerpoint" @"application/vnd.ms-word" @"application/vnd.ms-excel" (BTW, I've seen DOC files use mimetype @"appli...

How can I find out if an external headset is connected to an iPhone?

I wonder if it's possible to detect that the user has an external headset plugged into the iPhone's 3.5mm connector or the 30-pin connector. I want to output audio only to an external audio device, and keep silent if nothing is connected. Ari. ...

Understanding NSHTTPCookieStorage for the iPhone

Maybe I'm missing something, but from Apple's documentation for NSHTTPCookieStorage, I can't help but wonder how this is safe to use. Does this mean that cookie storage is shared across all apps on the iPhone? If my app makes an Http call that results in some cookies being saved, do all apps now have access to these cookies? Methods li...

Does Apple Push Notification service use UDP or TCP?

Does Apple push use TCP or UDP to deliver messages from their servers to the device? ...