• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using MPMediaPickerController in landscape mode - iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using MPMediaPickerController in landscape mode - iPhone


  • Subject: Using MPMediaPickerController in landscape mode - iPhone
  • From: Gustavo Pizano <email@hidden>
  • Date: Tue, 14 Dec 2010 21:31:31 +0100

Hello all.

Im having some troubles here,

I have a view within  a NavigationViewController that display a list of picked songs, so at first run this list is empty, when the user clicks the add songs, I push a MPMediaPickerController into the navigationViewController,  but the size of the MPMediaPickerController view's is in portrait mode always.

So before pushing the MPMediaPickerController into the NavViewController I did this:

	CGRect frame = picker.view.frame;
	frame = self.view.bounds;
	picker.view.bounds = frame;

so it shows the correct size, but the last items on the picker's tabViewController aren't touchable, its like the superview of the picker it's still 320px of width when it should be 480px,

I dunno if its possible to display the picker correctly depending on the device orientation.

Thx in advance

Gustavo


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using MPMediaPickerController in landscape mode - iPhone
      • From: Gustavo Pizano <email@hidden>
    • Re: Using MPMediaPickerController in landscape mode - iPhone
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Core Data: Error while saving. Multiple validation errors occurred.
  • Next by Date: Re: Using MPMediaPickerController in landscape mode - iPhone
  • Previous by thread: Re: Core Data: Error while saving. Multiple validation errors occurred.
  • Next by thread: Re: Using MPMediaPickerController in landscape mode - iPhone
  • Index(es):
    • Date
    • Thread