+ Reply
Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: check if iPod is playing - Theos Jailbreak development

is a discussion within the

iPhone / iPod Touch SDK | Development Discussion

forums, a part of the

3rd 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
...
  1. #1
    iPhoneaholic iGamers's Avatar
    Join Date
    Jun 2011
    Location
    Riverside, California, United States
    Posts
    479
    Thanks
    24
    Thanked 80 Times in 60 Posts

    Default 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

  2. #2
    Green Apple truehybridx's Avatar
    Join Date
    Dec 2007
    Location
    Mustang Ridge, Texas, United States
    Posts
    91
    Thanks
    1
    Thanked 10 Times in 10 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.

  3. The Following User Says Thank You to truehybridx For This Useful Post:

    iGamers (12-31-2012)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts