Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: check if iPod is playing - Theos Jailbreak development
is a discussion within theiPhone / iPod Touch SDK | Development Discussion
forums, a part of the3rd Party Apps For iPhone | iPod Touch
section;I'm developing a tweak in theos, I'm not exactly sure how to check if the iPod is playing music, can someone please point me in the right direction, idk what
...-
03-11-2012, 11:02 PM #1iPhoneaholic
- Join Date
- Jun 2011
- Location
- Riverside, California, United States
- Posts
- 464
- Thanks
- 24
- Thanked 78 Times in 58 Posts
check if iPod is playing - Theos Jailbreak development
I'm developing a tweak in theos, I'm not exactly sure how to check if the iPod is playing music, can someone please point me in the right direction, idk what I tried using MPMusicPlayer but it puts it in SafeMode, idk if I was using it wrong or what though
thanks for any help
-
03-13-2012, 11:21 PM #2Green Apple
- Join Date
- Dec 2007
- Location
- Mustang Ridge, Texas, United States
- Posts
- 87
- Thanks
- 1
- Thanked 8 Times in 8 Posts
umm look in SBMediaController.h
- (BOOL)isPlaying;
Code:BOOL playing = [[SBMediaController sharedInstance] isPlaying];
Get the latest info for NoAccSplash Here
Currently it should work on iOS 4.x - 6.x
If you'd like to help extend its functionality, the source is also available.
-
The Following User Says Thank You to truehybridx For This Useful Post:
iGamers (12-31-2012)




LinkBack URL
About LinkBacks
Reply With Quote