Added iOS 7.1 detection and minimal-ui