the below method is not called when i rotate my device with Autolayout ON in IB.

```
willRotateToInterfaceOrientation:duration:

```

Firstly does the above methods don't wok with autolayout? the method gets called with Autolayout turned off. I am trying to change the background Image of my view on rotation, Not sure how to achieve that with autolayout constaints ON?

I also tried to use procedure by [Moin](https://stackoverflow.com/questions/14170404/willrotatetointerfaceorientation-not-being-called-from-presented-viewcontroller) but I have a huge view hierarchy and the methods are called from superview onwards, and and i have lot of other code in other methods like. So it didn't help

```
didRotateFromInterfaceOrientation  

```