iphone

iPhone App Status Bar

Just getting started with my first iPhone app. My app will be full screen, but I am having trouble finding the document that explains how to change the status bar properties. Anyone have any pointers? ...

iPhone Development - Complex application using multiple views/xib/nib

Hey all, I'm new to iPhone development, and multiple views (xib or nib) are really confusing me. This is what i'm trying to achieve... View with Tab Bar (Tab 1, Tab 2, Tab 3) Tab 2 View (Navigation Controller) 2.1 Selecting Table Row will show a View with cell details 2.2 Add button on the navigation bar will show a series of view int...

iPhone Development - Creating a class like UIImagePickerController that returns data to parent

I have a situation where I have to take input from the user using multiple views (like Personal Information -> Professional Information -> Process Completed). I was wondering, how can I build a class like UIImagePickerController, which takes input from user and returns the data to parent class? Note that the view is also handled by this...

How do i check to see if a delegate is valid on the iPhone

Hiya, I'm doing something like this: @protocol CallbackDelegate -(void) performCallback; @end @interface MyObject : NSObject { id<CallbackDelegate> delegate; } -(void)AsyncFuncCall; @end @property (nonatomic, assign) id<CallbackDelegate> *delegate; The code that owns MyObject sets up a delegate to recieve the callback function...

What can I do to optimize my web page for a mobile phone, specifically the iPhone?

So I purchased myself an iPhone ... everybody has one ... so I figured I'd see what the big deal was. To my surprise ... and overall skepticism ... I must say that I am very impressed with the iPhone. There's not any real magic going on here ... it just seems to be a very clean and very easy to use device. So now I'd like to take our ...

How to record audio on iPhone

I want to record audio using the iphone (< 2 minutes) and save it to a file. I looked at SpeakHere, but it confuses me. Which classes do I use? What delegate methods do I create? Thanks! ...

Is there an easy way to work with web services for iPhone dev?

We want to take XML data and convert it to an NSDictionary object, but we don't want to manually iterate over the XML. Is there an easy way to do this? How are you doing web services for your iPhone app? ...

Does the iPhone API allow my application to respond to the headset button?

I cannot find this in the documentation anywhere. Does anyone know if this is possible or if it's on a lower level unavailable to 3rd party apps? ...

How can I run two instances of the iPhone simulator (Aspen) to try out the WiTap example?

Has anyone had any luck running two instances of the iPhone simulator to test network code between the two? ...

How can I lower the volume of iPod audio while my app plays a sound

I'm trying to reproduce the functionality of built-in Mail application when a new message arrives while you are listening to iPod music. What happens with the Mail app is: iPod's volume lowers a bit Mail app plays a short sound and vibration iPod's volume goes back to normal I know how to play a sound and cause vibration, what I don...

Xcode: iPhone app codesign error

When building a new iPhone app in Xcode, I'm getting this error: codesign error: code signing identity 'iphone developer' does not match any code-signing certificate in your keychain. once added to the keychain, touch a file or clean the project to continue. What's the fix? ...

How to customize the background/border colors of a grouped table view?

I would like to customize both the background and the border color of a grouped-style UITableView. I was able to customize the background color by using the following: tableView.contentView.backgroundColor = [UIColor greenColor]; But the border color is still something I don't know how to change. How do I customize these two aspects...

layer hit test only returning layer when bottom half of layer is touched

I have a sublayer on a layer-backed view. The sublayer's contents are set to an Image Ref and is a 25x25 rect. I perform a hit test on the super layer when the touchesBegan and touchesMoved methods are invoked. The hit test method does, in fact, return the sublayer if it is touched, BUT only if the bottom half of the image is touched. ...

How to reduce the size of an sqlite3 database for iphone?

edit: many thanks for all the answers. Here are the results after applying the optimisations so far: Switching to sorting the characters and run length encoding - new DB size 42M Dropping the indexes on the booleans - new DB size 33M The really nice part is this hasn't required any changes in the iphone code I have an iphone applica...

OpenGl ES scrollable ListBox clipping problem

Hello, I am trying to create a generic list box in OpenGl ES (for the iPhone/iTouch) and I am running into a bit of a conundrum with clipping the ListBoxItems. Each ListBoxItem object will know how to draw itself. The ListBox I am making will just draw each one after another. But what if the number of items is larger than the ListBox? ...

Add image to targets folder by code

i want to add a image to the iphone application Targets-Copy Bundle Resource folder by using code,can make it?any suggestion ...

Automated testing for iPhone

I know this one is going to be a long-shot, but I thought I'd try. Does anyone know of any automated test anything for the iPhone simulator? I'd love it if there was something like Selenium but for the iPhone simulator. I don't need anything fancy like assertions, just something that can fake out taps on a screen so I can stop abusing...

Possible to generate an iPhone application automatically from another iPhone application?

As title; is there any function that can achieve this? ...

What is a good vector library for Cocoa or Cocoa-touch?

I'm looking for a good vector library for displaying animated graphics on the iPhone. Something that could possibly display SVG. Anyone have any ideas or insights? ...

How do I make Xcode refresh its local copies of my project's image files?

I'm having some weird issues with Xcode, and this is pretty much impossible to find answers by simply googling around. I have a few icon image files (just PNGs) in my Xcode project, and when I modify some of them in Photoshop, they don't get updated when I do another build in Xcode. In order to fix this I have to re-add the file again t...