Explorar o código

Remove unnecessary call to add FLEX’s root view controller’s view to the window.

This is done automatically by setting the rootViewController property on the window.
Ryan Olson %!s(int64=12) %!d(string=hai) anos
pai
achega
9d1489adbe
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Classes/Explorer Toolbar/FLEXManager.m

+ 0 - 2
Classes/Explorer Toolbar/FLEXManager.m

@@ -50,9 +50,7 @@
     if (!_explorerWindow) {
         _explorerWindow = [[FLEXWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
         _explorerWindow.eventDelegate = self;
-
         _explorerWindow.rootViewController = self.explorerViewController;
-        [_explorerWindow addSubview:self.explorerViewController.view];
     }
     
     return _explorerWindow;