Parcourir la source

Revert "Support iOS 11 prefersLargeTitles #1643 (#2090)" (#2204)

This reverts commit 9f2f15bc4f.
Ran Greenberg il y a 7 ans
Parent
révision
e8333ce1ea
No account linked to committer's email address
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  1. 0
    6
      ios/RCCViewController.m

+ 0
- 6
ios/RCCViewController.m Voir le fichier

@@ -644,12 +644,6 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
644 644
       self.navigationItem.titleView.clipsToBounds = YES;
645 645
     }
646 646
   }
647
-  
648
-  if ([self.navigationController.navigationBar respondsToSelector:@selector(setPrefersLargeTitles:)]) {
649
-    NSNumber *prefersLargeTitles = self.navigatorStyle[@"prefersLargeTitles"];
650
-    BOOL prefersLargeTitlesBool = prefersLargeTitles ? [prefersLargeTitles boolValue] : NO;
651
-    self.navigationController.navigationBar.prefersLargeTitles = prefersLargeTitlesBool;
652
-  }
653 647
 }
654 648
 
655 649