Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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?

— asked August 12th 2010 by Tom Campbell
  • ipad
  • iphone
  • itunes
  • mobile
  • music
  • popover
  • showmusiclibrary

3 Answers

  • has anyone used the showMusicLibrary API on iPad?

    — answered December 6th 2010 by Tom Campbell
    1 Comment
    • Yes, and I would like to know this as well how to position the picker.

      — commented March 31st 2011 by Jeroen Kntl
  • Try to put this as argument (I'm not sure it will work )

        popoverView:{ view: your_view }
    — answered August 12th 2010 by Dan Tamas
    1 Comment
    • I just tested this and the media library is still in the corner of the iPad screen.

      — commented August 12th 2010 by Tom Campbell
  • 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.

    — answered January 15th 2013 by alessandro la rocca
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.