iphone

What are possible/good ways to prototype iPhone applications?

This is intentionally left broad. If you wanted to show users what iPhone/mobile applications could to for them. The more interactive the better, but it must be quick to build as you can't code up every idea. Let us assume real-time games are out of scope. Throw out ideas or state which approach would be best. Here are some of my id...

Navigation Controller Transparent Bar Style is not working

Hi, I am using a navigation controller, and I have the style set to : navController.navigationBar.barStyle = UIBarStyleBlackTranslucent; But when I run my program, the navigation controller looks like it is on top of a white background, not my background. When I push a controller, left or right, all my view, the current one, shifts to...

Shutdown IPhone when an application hangs

My application hangs. Pressing the home button doesn't return to the springboard anymore. Additionally pressing the power button for 10 seconds doesn't turn the iphone off at all. Is there any way to force a shutdown? ...

Best way to share iphone and mac code between projects

Hi, I realise that the view/controller stuff will be different between Mac and IPhone apps but the model code may well be similar/the same. So whats the best way to organise a project(s) so that the model code is/can be shared? Copy/paste - just duplicate it and manually keep it in sync Have 2 xcode projects point at the same workar...

How many international languages does the iPhone Simulator support?

How many international languages does the iPhone Simulator support? Choose: Settings/General/International/Language Mine only has English listed, but I fear I may have inadvertently stripped out the localisations? ...

How do I create a "Hello World" application in java for an iphone?

I'd like to create a basic "Hello World" style application for the IPhone using Java - can anyone tell me how? ...

How do I create a simple two-screen iPhone app?

I've gone through most of the example code and I still need some help. I want to make an uber-simple app: show one screen at startup with a label and a button. click the button and we slide over to another screen (I suppose these are called views) which has another label and the "back" button in the top menu bar. I just want to click...

Compression API on the iPhone

Is there a compression API available for use on the iPhone? We're building some RESTful web services for our iPhone app to talk to, but we want to compress at least some of the conversations for efficiency. I don't care what the format (ZIP, LHA, whatever) is, and it does not need to be secure. Some respondents have pointed out that th...

Referencing AppDelegate instance variables

I have a project that is based on the Navigation Based Application template. In the AppDelegate are the methods -applicationDidFinishLoading: and -applicationWillTerminate:. In those methods, I am loading and saving the application data, and storing it in an instance variable (it is actually an object-graph). When the application loads...

What are the best Cocoa-Touch/iPhone programming blogs?

What are the best Cocoa-Touch/iPhone programming blogs? One blog per answer please. Some answers may overlap with Best Cocoa/Mac OS X programming blogs? , but I'm looking for blogs with good meaty iPhone specific content (i.e. code) ...

Invoking Mail App on the iPhone

The application I'm writing calls a web service that sends an email to the user. After the call to the web service is complete, I would like to bring up the Mail application so the user can read the email. I know I can use mailto:, but then a new email is created for the user to compose. Is there a way to invoke the Mail application so t...

How can I create a YUI menu where you can click to open the submenus?

We have a multi-tiered/hierarchical YUI menu activated via a YUI menu button. Everything in this menu works pretty well. If you mouseover a menu item with a submenu, the submenu appears as expected. You can select an item from this submenu just fine. The problem, however, is that you can also click on the parent items of this menu ...

How do I create a rounded table with controls in the cells?

I'm exploring the iPhone SDK and want to create and use a UI component like the figure below. A rounded table with cells in which each cell can have some label text, maybe an input text field and an action button that would take it to the next screen. The table should not be screen filling. But... I can't figure out how to do it or find...

What's the UITableView index magnifying glass character?

In Apple's iPhone apps (like Contacts), they have a nice magnifying glass icon at the top of the table view index. Since the table view index API is character-based, I assume that this magnifying glass is a Unicode character. So far I've resorted to placing a question mark character there, but that looks lame. Can anyone tell me what ch...

Can an application find out information about currently playing song on iPhone/iPod Touch?

I've searched around a bit in the small amount of iPhone/iPod Touch development information available and couldn't find anything for or against. Can an application find out information about currently playing song on iPhone/iPod Touch? Since the music can continue to play while you are in 3rd party applications, is there a function or ...

How do you override the Icon for iphone apps?

I remember reading somewhere that you can provide your own icons without having them pass them through the automatic gloss effect when compiling an iphone app, but I can't remember how to do it, and not sure where it was in the docs. Anyone here remembers? thanks! ...

Receive HTTP Headers via NSURLRequest/NSURLConnection in Cocoa

I've been working on figuring out how to receive HTTP Headers via a request made with NSURLConnection. Typically a request is made with something as simple as the following: NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self]; The only way I've personally found in Apple's abund...

How do I remove the UINavigationBar from a UIViewController?

I'm experimenting with the NavBar sample project for iPhone. When I tap on one of the rows in the table in the default view a new view slides in (so far so good). I want to remove the UINavigationBar bar at the top of the new view that slides in. How can I do this? EDIT: I meant "UINavigationBar". Thanks to everyone who responded!...

Showing a view controller from an OpenGL view

Hey! I have created an iPhone application based on an OpenGL view. Now I would like to show a "settings" form. Since my code runs in UIView, I have no pushViewController. How do I show a view controller on screen? Thanks! ...

Accessing AddressBook without picker or UI

Hey! I have read somewhere that Aurora Feint managed to access the Address Book without using the picker. Is it possible to iterate through all records? Aurora Feint is available on AppStore, so I assume they are using SDK with no private frameworks. Thanks! ...