I want to determine the current orientation for setting the view, which will be the best way for it from the methods described below, and how?
[[UIDevice currentDevice]orientation]
[[UIApplication sharedApplication] statusBarOrientation]
user2234547
source share