Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Strange problem with objc-util and MPMediaQuery
-
I am having a strange problem with objc-util on my ipad mini 2. (Or is it ipad 2 mini?)
And actually its any class starting with MP that is giving an error. The error is always there is no Objective-C class named '(Name of class)'
Here is a picture of the error from running the example. http://imgur.com/g8Q3sYH
Any idea what the problem is? It does not affect any other ObjC examples.
-
I'm pretty sure you problem is the MediaPlayer framework isn't linked in 2.0
The fix is to add this line before the call that breaks
NSBundle.bundleWithPath_('/System/Library/Frameworks/MediaPlayer.framework').load()
-
Yeah. Thanks. Strange part is it works on my brothers iPad 2Air. (Or is it IPad Air 2) without that.