tags:

views:

18

answers:

0

I am posting a notification once my custom view is rotated. I have one class which registers to this notification. Now, when my app launches, this method gets called and a notification is thrown but since there no registered controller by that time nothing happens. When I get deep into my app and the controller actually come in picture, and i rotate my view from Landscape to Portrait, I get the notification but the value inside the notification is 'Landscape' and not 'Portrait'. I believe it should be 'Portrait' which is the new orientation of the device.

Also, It it possible that I am getting old notification which was posted when I launched the app?

Please someone throw some light on this.