LayoutSubviews after orientation change in inactive tab
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