|
@@ -101,7 +101,7 @@ static NSString *const CHANNEL_NAME = @"flutter_webview_plugin";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
CGRect rc;
|
|
CGRect rc;
|
|
|
- if (rect != (id)[NSNull null]) {
|
|
|
|
|
|
|
+ if (rect != nil) {
|
|
|
rc = [self parseRect:rect];
|
|
rc = [self parseRect:rect];
|
|
|
} else {
|
|
} else {
|
|
|
rc = self.viewController.view.bounds;
|
|
rc = self.viewController.view.bounds;
|