iphone-6

iPhone 6 and 6 Plus Media Queries

霸气de小男生 提交于 2019-11-26 03:29:01
问题 Does anyone know specific screen sizes to target media queries for iPhone 6 and 6 Plus? Also, the icon sizes and splash screens? 回答1: iPhone 6 Landscape @media only screen and (min-device-width : 375px) // or 213.4375em or 3in or 9cm and (max-device-width : 667px) // or 41.6875em and (width : 667px) // or 41.6875em and (height : 375px) // or 23.4375em and (orientation : landscape) and (color : 8) and (device-aspect-ratio : 375/667) and (aspect-ratio : 667/375) and (device-pixel-ratio : 2) and

Image resolution for new iPhone 6 and 6+, @3x support added?

让人想犯罪 __ 提交于 2019-11-26 03:23:40
问题 I have looked on few articles and discussion like one here and Here about image resolutions that new iPhones will use @3x images for display. Is it true? So does it mean we will have to keep three images? Say for example I have an image of 50 X 50, will I have to keep 3 images for optimizing the look for new iPhones? Normal (50 X 50) @2x - Retina (100 X 100) @3x - Retina HD (150 X 150) Or will the new phones use @2x images only and there is nothing like @3x? I have tested by making a sample

Black bars on launch screen on iPhone5 (and iPhone6)

只愿长相守 提交于 2019-11-26 02:58:17
问题 When iPhone 5 first came out we had to go through the silliness of adding a Default-568h@2x.png to the project to get the app to use the full height of the iPhone 5. In late 2014 are we still doing that? We have asset catalogs and the LaunchScreen.xib file. Do we still need to add the Default-568h@2x.png file? If so, where does it go now? I\'ve tried a few different things and I can\'t get rid of the black bars in a new app created with Xcode 6 GM. 回答1: As stated by rmaddy in the comments, if

How do I create launch images for iPhone 6 / 6 Plus Landscape Only Apps?

不想你离开。 提交于 2019-11-26 02:28:53
问题 I\'ve got an existing landscape only app that I\'m trying to add iPhone 6 / iPhone 6 Plus support for. When I was supporting iOS 6 / 7 I simply used the default-named launch portrait images with a landscape image rotated into portrait (ie. for 4\" screens I created a landscape 1136x640 and then rotated to create a 640×1136 launch image.) I\'m trying to get something working for iOS 8 and iPhone 6 / 6+ and have not come up with something that works yet. Here are some things that I have tried:

iPhone 6 Plus resolution confusion: Xcode or Apple's website? for development

不问归期 提交于 2019-11-25 23:47:47
问题 Apple\'s website claims that the resolution is 1080p: 1920 x 1080 However, the launch screen required by Xcode (8.0 GM launched today) is 2208 x 1242. Who\'s right? 回答1: The iPhone 6+ renders internally using @3x assets at a virtual resolution of 2208×1242 (with 736x414 points), then samples that down for display. The same as using a scaled resolution on a Retina MacBook — it lets them hit an integral multiple for pixel assets while still having e.g. 12 pt text look the same size on the

How to enable native resolution for apps on iPhone 6 and 6 Plus?

三世轮回 提交于 2019-11-25 21:57:00
问题 Xcode 6 GM now includes simulators for iPhone 6 and 6 Plus, and by default they run apps in a scaled mode. To enable the new screen size I tried adding Default-667h@2x.png which seems to do a part of the trick since the app now fails to run at all, with the error \"Unable to run app in Simulator – An error was encountered while running (Domain = LaunchServicesError, Code = 0)\". Has anyone figured out how to get an app actually run in the 6/6+ resolution? 回答1: You can add a launch screen file

Image resolution for new iPhone 6 and 6+, @3x support added?

老子叫甜甜 提交于 2019-11-25 20:12:37
I have looked on few articles and discussion like one here and Here about image resolutions that new iPhones will use @3x images for display. Is it true? So does it mean we will have to keep three images? Say for example I have an image of 50 X 50, will I have to keep 3 images for optimizing the look for new iPhones? Normal (50 X 50) @2x - Retina (100 X 100) @3x - Retina HD (150 X 150) Or will the new phones use @2x images only and there is nothing like @3x? I have tested by making a sample project and all simulators seem to use @3x images, this is confusing. Edit Here is some more info 3GS (