Explorar el Código

Remove unneeded code

Leo Natan hace 7 años
padre
commit
d36f384b39
No account linked to committer's email address
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0
    5
      lib/ios/RNNSwizzles.m

+ 0
- 5
lib/ios/RNNSwizzles.m Ver fichero

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