Revision 7db1712d Classes/ASIAuthenticationDialog.m
b/Classes/ASIAuthenticationDialog.m | ||
---|---|---|
133 | 133 |
{ |
134 | 134 |
[self showTitle]; |
135 | 135 |
|
136 |
UIDeviceOrientation o = [[UIApplication sharedApplication] statusBarOrientation];
|
|
136 |
UIDeviceOrientation o = [[UIDevice currentDevice] orientation];
|
|
137 | 137 |
CGFloat angle = 0; |
138 | 138 |
switch (o) { |
139 | 139 |
case UIDeviceOrientationLandscapeLeft: angle = 90; break; |
Also available in: Unified diff