iPhone application setting via resource file - iphone

In my iPhone application I keep application parameters in .plist file. However I have to allow user to edit these parameters.
Ex: Safari application setting can be changed in the Settings.
Can anybody assist me how to overcome this problem.

You want to create a settings bundle. The iOS Developer Documentation has a whole section about this.

Related

How do you remove an app from iPhone Configuration Utility?

I'm attempting to install an archive build of my app using iPhone Configuration Utility but am unable to.
The app appears in the Applications section, however when I click on the Devices section, then choose the Applications tab it isn't listed there.
I think this might be because I changed the app name and the app with the old name is still listed in iPhone Configuration Utility and as they have the same app id it may be getting confused.
However there seems to be no way to delete the old app from within iPhone Configuration Utility to see if this clears the problem.
In iPhone Configuration Utility, under Library->Applications, select the application and click Edit->Delete.

How to enable file sharing in iPhone app using iPhone sdk [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to enable file sharing for my app?
How can i enable file sharing functionality in iPhone app. I am very curious about this to know because when i connect my iPhone with iTunes then it show me three apps. One is Skype and second one is bump and third one is my own app. My app is about augmented reality and show some videos and images on specific markers, also i did social sharing and APNS work and flurry integration that all major working in my app and I did nothing which enable this functionality but why and how this happen. Kindly let me know. This will be great for me. Thanks.
You should Enable UIFileSharingEnabled in the application plist file, Keep this value to YES like this then your application can share data of your application documents
There is an option in {projectname}-Info.plist named "Application supports iTunes file sharing".
Your app will appear in iTunes File Sharing if the UIFileSharingEnabled key is set in its Info.plist. (This appears in the Xcode editor as "Application supports iTunes file sharing ".) If this is enabled in your project and you're not sure how, either you accidentally clicked something for this in Xcode, or you're working from a project template in which it's pre-set.

Hide Settings Bundle in Settings.app

I have created an iOS 4.0 app with a Settings bundle. I am using the InAppSettingsKit (http://www.inappsettingskit.com) which presents the settings in the app. This allows the user to modify those settings directly from within the app, without the need to go to the external iPhone Settings.app. As the settings are accessible from inside the app (and I am doing some custom styling to the in-app settings screen) I would like to stop the Settings bundle from appearing in the iPhone Settings.app. Is this possible?
Any help would be greatly appreciated.
InAppSettingKit allows the use of an internal only settings bundle. Rename Settings.bundle to be this and then the OS wont find it to put it in the Main Settings part
Check out "Some little extras" on the product page

Custom URL Scheme from settings.bundle

Is it possible to set a custom URL scheme to launch my app from a link but make this a user defined setting?
My app relies on a user defined server url and I would like to be able to set a URL scheme to launch my app using the users custom URL from lets say an email link.
I noticed the info.plist has these references
${EXECUTABLE_NAME}
can I define my own custom reference maybe?
Edit: Turns out these ${EXECUTABLE_NAME} are just references used during build in xcode.
I also learned that the app bundle is read only on device making the info.plist un-editable.
Looks like this is impossible. Anyone have any ideas?
There is no way to add a link to a Settings.bundle to launch your app.

How do I make iPhone SpringBoard show two or more icons for one application bundle?

It seems like Info.plist file has an ability to declare different roles for the same application bundle through the UIRoleInfo key. SpringBoard can recognize these roles after installing an app and may display separate icons for each application role.
For instance, iPhone shows MobileSlideShow.app as 2 different programs: Photos and Camera.
Unfortunately, there is no official Apple documentation about the subject at the moment. Would anybody advise how to organize the same behavior in a custom app?
This feature is going to be used in the Enterprise product for ad hoc distribution.
This isn't a supported feature, so if you do this you might have a hard time getting your app through the approval process. I wouldn't recommend using it.
Have you tried it to see if it works? If it doesn't work, you could create a second app that does nothing but launch the first one, with a custom URL scheme. The first app can recognize when it is being launched with that URL. This is not ideal as you will see the second app launch & quit (though it should be really fast).