I am trying to access SBMediaController, but my application just crashes. My goal is to stop playing any music application in the background using [[[SBMediaController] sharedInstance] stop]
I use private headers to access privateframeworks and can use GSLockDevice () to lock the screen, so I think my import should be found. I noticed that there is no SpringBoard.framework in privateframeworks, like GraphicServices.framework, maybe this is the problem? My mistake:
dyld: Symbol not found: _OBJC_CLASS_$_SBMediaController Referenced from: /var/mobile/Applications/D1CB0D98-1858-406C-AF4B 254BBEA7A73D/iTest.app/iTest Expected in: flat namespace
source share