CFBundleiconfile does not have an extension

Currently there is an issue with Apples Application Loader, although the documentation states that you can omit the file extension from the Icon File name, and this works when running locally, when you come to submit it to the app store it fails validation.

At the moment you have to specify the names using the CFBundleIconFiles
Screen shot 2010-07-28 at 16.09.49


Truly quit app under iOS4

Great article that explains how to terminate your app so that it doesn’t go into suspend mode, basic details are here

Multi-tasking can be great, but it has added some complexity to programming on the iPhone. For many apps there really is no advantage. For instance, does the “That’s What She Said” button really need to stay in memory?

It’s some added complexity that programmers don’t need.. some of the more complex memory intensive apps will just exit anyways, and programming the app to suspend can be a highly complicated task.

Fortunately there is a simple way to make your iOS 4 apps terminate for real when the user taps the home button.

This is a simple process:

Open your info.plist file
Add The Key UIApplicationExitsOnSuspend
Set the new key to YES
Now your applicationwillterminate: method will be run when the user taps the home key, and your app will exit for real.


iOS4 EXEC_BAD_ACCESS with setHidesBottomBarWhenPushed

Raised the following bug with Apple, (Id 8126566)

Get EXEC_BAD_ACCESS when hiding a bottom bar that doesn’t exist

Steps to Reproduce:

SettingsViewController* settings = [[SettingsViewController alloc] init];
[settings setHidesBottomBarWhenPushed:YES];
[self.navigationController pushViewController:settings animated:YES];

[settings release];

The active view doesn’t have a bottom bar

Expected Results:
When the view is popped it should ignore the fact that there was no bottom bar

Actual Results:
get an exec_bad_access

Regression:

Notes:
removing the line that setHidesBottomBarWhenPushed, corrects the issue.

Obviously this is redundant code and I shouldn’t be calling it (I’ve now removed it), but I would of thought he SDK would check before trying to restore a non existent bottombar