Browse Source

Remove unneeded code

Leo Natan 6 years ago
parent
commit
d36f384b39
No account linked to committer's email address
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      lib/ios/RNNSwizzles.m

+ 0
- 5
lib/ios/RNNSwizzles.m View File

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