• 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
LayoutSubviews after orientation change in inactive tab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LayoutSubviews after orientation change in inactive tab


  • Subject: LayoutSubviews after orientation change in inactive tab
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 30 Jul 2013 22:49:51 -0700
  • Thread-topic: LayoutSubviews after orientation change in inactive tab

I have a tabbed iOS app.

Tab #2 has a background that is obtained from an auto-resizing scrollView in
Tab #1.

If I am viewing Tab #2, and rotate the device, I need the layout for Tab #1
to reconfigure its views immediately rather than until I select it again.

How can I do this?

I have added a UIDeviceOrientationDidChangeNotification to The scrollView in
Tab #1 that needs to get resized, but am not sure how to force the
ScrollView frame to auto-resize itself.


Thanks,

Trygve



_______________________________________________

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


  • Prev by Date: CALayer autoresizing difficulties
  • Next by Date: Re: Exiting non-POSIX threads?
  • Previous by thread: Re: CALayer autoresizing difficulties
  • Next by thread: [BUG?] LSUIElement=YES and NSWorkspaceDidTerminateApplicationNotification
  • Index(es):
    • Date
    • Thread