Cargo cults are insidious because they often start out as legitimate solutions to real problems, but become community wisdom by way of similarity.
I don't doubt your solution to your problem (but would love the opportunity to verify it for myself). I'm just concerned about Roland adopting it because it "smells enough" like your problem. --Kyle Sluder On Aug 16, 2013, at 9:00 PM, Roland King <r...@rols.org> wrote: > > 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. > > _______________________________________________ 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