In the new version of iOS, users finally have the ability to โremoveโ (actually hide) applications that they donโt want, for example. The Promotions app or the Music app.
The problem with hiding the Music app is that when you try to play the deviceโs music library (formally called the iPod library), you MPMusicPlayerControllerโll have problems.
A call [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"music://"]]is the first thing that comes to mind, however, it always returns YES, regardless of the Music application installed.
How can we determine if a user has this application installed or not?
source
share