equal
deleted
inserted
replaced
326 if (IS_IPAD() == NO) |
326 if (IS_IPAD() == NO) |
327 return; |
327 return; |
328 |
328 |
329 [self updateiPadUIForInterfaceOrientation:toInterfaceOrientation]; |
329 [self updateiPadUIForInterfaceOrientation:toInterfaceOrientation]; |
330 |
330 |
331 [self.schemeWeaponConfigViewController willAnimateRotationToInterfaceOrientation:toInterfaceOrientation |
|
332 duration:duration]; |
|
333 if (self.helpPage) |
331 if (self.helpPage) |
334 { |
332 { |
335 self.helpPage.view.frame = self.view.frame; |
333 self.helpPage.view.frame = self.view.frame; |
336 } |
334 } |
337 } |
335 } |
372 } |
370 } |
373 |
371 |
374 [super viewWillAppear:animated]; |
372 [super viewWillAppear:animated]; |
375 } |
373 } |
376 |
374 |
|
375 - (void)viewDidAppear:(BOOL)animated |
|
376 { |
|
377 [super viewDidAppear:animated]; |
|
378 |
|
379 if (IS_IPAD()) |
|
380 { |
|
381 // need to call this again in order to fix layout on iOS 9 when going back from rotated stats page |
|
382 UIInterfaceOrientation currentOrientation = [[UIApplication sharedApplication] statusBarOrientation]; |
|
383 [self updateiPadUIForInterfaceOrientation:currentOrientation]; |
|
384 } |
|
385 } |
|
386 |
377 -(void) didReceiveMemoryWarning { |
387 -(void) didReceiveMemoryWarning { |
378 self.imgContainer = nil; |
388 self.imgContainer = nil; |
379 |
389 |
380 if (self.titleImage.superview == nil) |
390 if (self.titleImage.superview == nil) |
381 self.titleImage = nil; |
391 self.titleImage = nil; |