瀏覽代碼

Remove unneeded code

Leo Natan 7 年之前
父節點
當前提交
d36f384b39
No account linked to committer's email address
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0
    5
      lib/ios/RNNSwizzles.m

+ 0
- 5
lib/ios/RNNSwizzles.m 查看文件

69
 	rv.top = CGRectIntersection(myFrameInVCView, CGRectMake(0, 0, vc.view.bounds.size.width, vc.topLayoutGuide.length)).size.height;
69
 	rv.top = CGRectIntersection(myFrameInVCView, CGRectMake(0, 0, vc.view.bounds.size.width, vc.topLayoutGuide.length)).size.height;
70
 	rv.bottom = CGRectIntersection(myFrameInVCView, CGRectMake(0, vc.view.bounds.size.height - vc.bottomLayoutGuide.length, vc.view.bounds.size.width, vc.bottomLayoutGuide.length)).size.height;
70
 	rv.bottom = CGRectIntersection(myFrameInVCView, CGRectMake(0, vc.view.bounds.size.height - vc.bottomLayoutGuide.length, vc.view.bounds.size.width, vc.bottomLayoutGuide.length)).size.height;
71
 	
71
 	
72
-	if (@available(iOS 11.0, *))
73
-	{
74
-		NSParameterAssert(UIEdgeInsetsEqualToEdgeInsets(self.safeAreaInsets, rv));
75
-	}
76
-	
77
 	return rv;
72
 	return rv;
78
 }
73
 }
79
 
74