alex-alex/iOS-Ingress — pull request #405 by alistairmcmillan (2013-07-11 02:28:14+00:00)
Title: Fix wants full screen layout issues

- Turning off wantsFullScreenLayout on all UIViewControllers in MainStoryBoard_iPhone.storyboard. This is only meant to be used when you want your view controller content to appear behind the status bar. Minor changes to constraints in MainStoryBoard_iPhone.storyboard that were based on view controllers being full screen. Minor layout changes in ItemsViewController.m, OpsViewController.m, PortalDetailViewController.m to reflect view controllers no longer drawing behind status bar. Fixes issue #345 where "Resources", "Portal Keys" and "Media" would appear behind status bar if you closed and reopened OPS.
- Removed viewDidLayoutSubviews from PortalDetailViewController.m, no longer needed.
- Removed statusBarHeight method from Utilities.m, no longer needed.
- Changed diameter of pie chart in ScoreViewController.m to calculate based on the width of the view. Fixes issue where it wasn't drawing correctly on iPads.

![screen shot 2013-07-11 at 03 00 55](https://f.cloud.github.com/assets/125896/779345/61d01af0-e9d1-11e2-9fba-d9f76c37e3f1.png)

- Added constraint to trailing edge of image at top of PortalDetailViewController, so that image is drawn across the whole view on all devices.

![screen shot 2013-07-11 at 03 08 18](https://f.cloud.github.com/assets/125896/779346/6b1bb8bc-e9d1-11e2-9e4a-d2795d71ef55.png)