Can the application find out information about the current game on the iPhone / iPod Touch?

I searched a bit for some information on the development of the iPhone / iPod Touch and could not find anything for or against. Can the application find out information about the current game on the iPhone / iPod Touch? Since music can continue to play while participating in third-party applications, is there a function or library that will give you information about what is playing? (Track, artist, album, etc.) I usually know that applications are sandboxed, but maybe there is a way.

+7
objective-c iphone ipod-touch music
source share
2 answers

If you do not plan to place your application in the App Store, you can import MobileMusicPlayer.h, as shown in this example application: song-info

edit: iPod interaction is now part of the iPhone OS 3.0 SDK

+4
source share

Apple is pretty tough about allowing access to anything that’s related to the media (other than the ones you’ve provided) on the device. I did not find a way to do this.

+4
source share

All Articles