willRotateToInterfaceOrientation + setframe can't layout

I'm trying to change the shape of a view right before rotating (without animation but with a CGRect I want to get at that time) and while rotating (with new CGRect).

Basically, iOS won't layout anything in the "willRotateToOrientation" method, even if i try to force it with "self.view layoutIfNeeded", "self.view setNeedLayout", "self.view layoutSubviews" and so on...)

As I'm using autolayout, I tried not to do it with SetFrame but with constraint (didn't change anything at all)


Need Your Help

AS3 OOP Principal, Structure & Organization

actionscript-3 oop structure organization code-organization

Refining my OOP structure, and trying to make the display of code as intuitive as possible,

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.