Leo Natan преди 7 години
родител
ревизия
edf50010af
No account linked to committer's email address
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0
    5
      ios/RNNSwizzles.m

+ 0
- 5
ios/RNNSwizzles.m Целия файл

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