> On Thu, Aug 1, 2013, at 08:48 AM, Trygve Inda wrote:
>> In my iOS app with two tabs, after the device is rotated, is there a way
>> to
>> force the hidden tab to re-layout its subviews BEFORE clicking that tab
>> to
>> make it visible?
>> 
>> One of my tabs uses an image from another tab and I need it to adjust its
>> frame rect.
> 
> Why does "using an image from another tab" involve adjusting its frame
> rect? UIImages don't have frames.
> 
> --Kyle Sluder
> 

Tab one has a ScrollView that has struts and springs to maintain full screen
size. This scrollview has three UIViews that together fill up more than one
screen (thus the scrollview).

Tab 2 needs a full-screen background image that is a darkened version of the
current position and view of the scroillview in tab 1.

If I have tab 2 selected and rotate the device, I need tab 1 to reconfigure
its views so that I can grab a "snapshot" of the scrollview in tab 1.

As it is now, tab one will not resize itself until it is selected.

If I can't figure this out, I'll have to put a similar scrollview in tab 2
that is just a copy of the one in tab 1, but that is less than ideal.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to