On 16 Aug, 2013, at 11:57 PM, Kyle Sluder <k...@ksluder.com> wrote:

> On Aug 16, 2013, at 7:14 AM, Rick Mann <rm...@latencyzero.com> wrote:
> 
>> 
>> On Aug 16, 2013, at 04:12 , Roland King <r...@rols.org> wrote:
>> 
>>> Basically auto layout gets it right then calls a method which resets the 
>>> content size to what it was before, I know not why. I have a method 
>>> somewhere which catches this content size change and thwarts it if it's not 
>>> the bounds size. Hack.
>> 
>> Ugh, yeah. Okay, I'll probably do that. You just override -setContentSize:? 
>> Or check it when the view is popped?
> 
> Before adopting a cargo-cult solution, can you reproduce the issue in a 
> sample app and post that here?
> 
> --Kyle Sluder

Bit more than cargo-cult. I did some debugging to find out where the 
contentView is set, distilled it down to a reasonably simple case and filed it 
about 6 months ago. Reasonably simple was a UICollectionView with a number of 
elements you can add to and is allowed to rotate. Within a couple of rotations, 
landscape to portrait (in the case of a vertically scrolling view), the content 
size is set the correct size and then, at the very end of autolayout, it gets 
reset to the previous landscape size. I've had this in 3 separate projects both 
in collection and table views. The collection view manages still to layout as 
if the content size were correct, but you miss the bottom piece of content and 
the scrollview can scroll horizontally. 

If bugreporter were up I'd go see if the status is updated, haven't seen a 
closed message so it's likely still open. 

I should try a couple of those projects in iOS7 as well to see if it's still 
needed, do that this weekend. 
_______________________________________________

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