How do I position the music library on the iPad
I would like to play the users iTunes music from my iPad app but when I open the music library using Titanium.Media.showMusicLibrary() it opens either in the top left or bottom right corner of the iPad screen. The is no help on how to position it in the docs or music.js demo in Kitchensink
When I open a popover I can specify a view that the popovers arrow will point to and which sets the position of the popover on the screen. This method is not working when used with Titanium.Media.showMusicLibrary which opens in a popover on iPad and as a full screen modal window on iPhone.
Has anyone found a way to make this work on iPad?
3 Answers
-
has anyone used the showMusicLibrary API on iPad?
-
Try to put this as argument (I'm not sure it will work )
Titanium.Media.showMusicLibrary({ popoverView:{ view: your_view } });
-
Any update about this issue? The arrow point to the top. I would like to point to the button that lauched the music library or, at least, no arrow.