Thank you for you answer, but it does not work. The problem is not in the viewcontroller of alertWindow, it is with the below one of mainWindow. This viewcontroller also does not rotate if I set supportedInterfaceOrientations and shouldAutorotate in the viewcontroller of alertWindow.
It is like both viewcontrollers share this properties, but I want that one viewcontroller does not allow rotation but the below one yes.
Thank you
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: