Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top