info.plist

iPhone App display name

If I have an iPhone app named: MyCoolApp How do I keep the bundle named: MyCoolApp.app But have the app name on that shows up underneath my icon read: My Cool App I have changed my PRODUCT_NAME target setting to be "My Cool App" and changed my plist CFBundleDisplayName and CFBundleName to be "MyCoolApp". So far my app name on the dev...

OSX Custom extension icon Association

I'm trying to get my application to display an icon for a custom file extension using the following code: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>My Custom Extension</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <...

Swing: Steal focus from other apps (usability in OS X)

I have an application in java swing which runs in the system tray most of the time. The user can use the Tray Menu to perform several actions. One of those actions is to show the app window. The problem I have is with usability on OS X. In windows, if the user brings up the app window and later switches to another app, they can switch b...

iphone ipad class vars from info.plist

Hey Guys, So I have a lot of configuration settings in the plist, but do not like to invoke the infoDictionary all the time when accessing the objects. I was thinking to load all the configuration into a settings class and make that accessible throughout the application. So in the plist, say I have a key "font" and a string "Arial". ...

UIBackgroundModes key not showing in Info.plist dropdown

I am trying to upgrade an older iPhone project to adopt background audio streaming, however the "Required background modes" key is not showing up in the Info.plist drop-down menu. I have set the base SDK to 4.0. Is there another project setting that governs which Info.plist keys are available? Kind regards, Rob ...

Get all CFBundleTypeExtensions of an Info.plist

Hi, I would like to get all the extensions of files my app can open. And I'd like to get them from my Info.plist. Right now I have this, but is there a better alternative? NSMutableArray *types = [NSMutableArray new]; NSArray *documentTypes = [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleDocumentTypes"]; for (NSDictionar...

Why my info.plist is not a working iphone info.plist

My first problem is that i don't want my apps stay in background once i'have quit it with home button. So i have added 'UIApplicationExitsOnSuspend' key in my info.plist file with boolean type. The value 'UIApplicationExitsOnSuspend' is not recognized by Xcode, and my app continue to stay in background ... Source of my problem is that ...

Code paths on iOS

We have an app that uses network, compass, camera and telephony. It has been rejected because we don't specify in UIRequiredDeviceCapabilities the keys that are requiered or prohibited. This is a newer version of an app that we upload months ago and we don't had any problem before. On documentation says You should include keys only ...

How do I get Xcode to treat an Info.plist as an iPhone/iPad Info.plist?

I have two cocoa-touch apps in one Xcode project. Xcode gives me iPhone/iPad related options for keys in the first's Info.plist, such as "Launch Image (iPad)". But, Xcode gives me Mac OS X options for keys for the second, such as "Java classpaths" and "Quick Look preview height." Here's how the project was built: I created the new pr...

App Store: Problem with UIRequiredDeviceCapabilities

I've uploaded my first App to App Store, but I did NOT put on the UIRequiredDeviceCapabilities that my App requires location-services and wifi. RESULT: the app does not start looking for the coordinates as it should do. (When I've installed the App through XCode in my iPhone 4 it works perfectly). So, I've tryed to upload a new version ...

Help filling out "info.plist" file

I'm ready to submit my first app to the App Store, however I'm having trouble filling out some of the "Info.plist" fields. I don't want my app to be rejected because I did this wrong. These are the fields I'm having trouble with: Executable file, Bundle identifier, Bundle name and Bundle creator OS Typecode Can you put anything on t...

read version from info.plist

I want to read the bundle version info from info.plist into my code, preferably as a string. How can I succeed? ...