Skip to content

Commit f2a8ff5

Browse files
fix worng frame on iOS 8
1 parent 5cc1152 commit f2a8ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FEAlertController/FEAlertController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ - (void)showInNewWindow {
211211
self.fromWindow = [UIApplication sharedApplication].keyWindow;
212212

213213
UIWindow *newWindow = [[UIWindow alloc] init];
214-
newWindow.bounds = [UIScreen mainScreen].bounds;
214+
newWindow.frame = [UIScreen mainScreen].bounds;
215215
newWindow.backgroundColor = [UIColor clearColor];
216216
newWindow.windowLevel = self.fromWindow.windowLevel + 1;
217217
self.alertWindow = newWindow;

0 commit comments

Comments
 (0)