I have an app which has one viewcontroller which works for both landscape as well portrait mode, Now when app goes to the landscape mode and coming back to portrait, the keyboard doesn't appear at all until app quits.
The issues is not related to iOS 8.0 for sure, because it works well in iPhone 5S with iOS 8.0 but it doesn't work for iPhone 6 and 6+. Also checked the keyboard frame and its shows correctly, but the keyboard doesn't show up. Any suggestion would be of great help.
Or is there a way i can force the keyboard to show up.
Did you try adding Launch Images for both the iPhone 6 and 6+? Without specific Launch Images for the 2 new device resolutions, the app will basically pretend that the width is still 320px and just stretch everything out to fit the bigger screen. I have seen this cause many strange problems with the keyboard on iPhone 6 and 6+ devices, and it sounds like this may be the underlying issue here as well. Here are the Launch Image resolutions you need for both devices:
For iPhone 6:
750 x 1334 (#2x) for portrait ---
1334 x 750 (#2x) for landscape
For iPhone 6 Plus:
1242 x 2208 (#3x) for portrait ---
2208 x 1242 (#3x) for landscape
Related
I am sure this info is somewhere but I can't find it, and the Apple Developer hotline seems to have no idea what I'm talking about. In the assets library for launch screen in Xcode, there are slots labeled:
iPhone Portrait ---> Retina HD 5.5 & Retina HD 4.7
iOS8
iPhone Portrait ---> 2x & Retina 4
iOS 7, 8
iPhone Portrait ---> 1x, 2x & Retina 4
iOS 5, 6
I had launch screens prepared and I have the sizes for these individual files, but I don't see how their sizes correspond to these Apple labels within Xcode. Moreover, the Apple docs here (https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Appendices/Properties.html#//apple_ref/doc/uid/TP40011225-CH26-SW1 which is what Apple Developer referred me to) just refer to iphone 6 and 6s sizes, which doesn't correspond to the Xcode label organization.
This seems like it should be a 1 minute query. What am I missing and where is this super basic information?
If you select the image "slot" in the asset catalog and show the Attributes inspector (on the right-hand side), it will show (among other things) "Expected Size" for each image. Doing that, it looks like:
iPhone Portrait iOS8 Retina HD 5.5: 1242 x 2208
iPhone Portrait iOS8 Retina HD 4.7: 750 x 1334
In the Attributes inspector, you can also choose which "slots" you want included via a series of checkboxes.
Documentation-wise, see the Icon and Image Sizes section of the iOS Human Interface Guidelines.
Paraphrasing from there:
iPhone 6 Plus: Use a Launch File
iPhone 6: Use a Launch File
iPhone 5: 640 x 1136
iPhone 4s: 640 x 960
iPad (#2x): 1536 x 2048 (portrait), 2048 x 1536 (landscape)
iPad (#1x): 768 x 1024 (portrait), 1024 x 768 (landscape)
Also see the Launch Images section, which says:
Although it’s best to use a launch file for iPhone 6 and iPhone 6 Plus, you can
instead supply static launch images if necessary. If you need to create static
launch images for these devices, use the following sizes:
For iPhone 6:
750 x 1334 (#2x) for portrait
1334 x 750 (#2x) for landscape
For iPhone 6 Plus:
1242 x 2208 (#3x) for portrait
2208 x 1242 (#3x) for landscape
It's worth noting that if you're only supporting iOS 8, you can just use a launch XIB or Storyboard and you don't need to worry about particular images sizes. The Launch Images section has information on that.
My most recent app update (which is iOS 8 only) is using XIB files (one for iPhone, one for iPad) and it works great.
Retina HD 5.5 - 1242x2208
Retina HD 4.7 - 750x1334
Retina HD 5.5 landscape - 2208x1242
2x - 640x960
Retina 4 - 640x1136
1x - 320x480
default 320x568
default#x2 640x1136
I've encountered a problem with the full width slider. It crashes on Iphone 6 plus but it works on other devices. So far, Iphone 6 plus is the only device that it crashes on. It only crashes if the device is held portrait, but it works when it's held landscape.
Is there a solution to this?
I am facing an issue in my Application .
Splash / Launch Image getting stretched in landscape mode on iPhone
Right now while launching the Application in Landscape mode, the Launch Screen comes in Portrait mode and later after a few seconds,it changes to Landscape mode and then it gets stretched so only a part of the image is seen that also stretched.
Waiting for a favorable reply.
Thanks,
Jitendra Bhagat
You need to use separate splash screen image for both the orientation.
For iPhone 6:
750 x 1334 (#2x) for portrait
1334 x 750 (#2x) for landscape
For iPhone 6 Plus:
1242 x 2208 (#3x) for portrait
2208 x 1242 (#3x) for landscape
Hey i am developing an app for iphone5 (4 inch screen) everything works fine but when i run my app on iOS 5.0 and rotate to landscape mode , keyboard does not fit entire screen ,
Adding a screenshot. it happens with all keyboard type.
Is there a way to deal with this bug at our end or it needs to be fixed by apple guys only.
I am running app on simulator, so if anybody have iphone 5 with ios 5.0 installed , please check, Does that issue persists on device also ?
So i am trying to do 2 types of constraints.
First for portrait and the second for landscape , yet i dont succeed.
This is what i ddid for the portrait :
This is the landscape:
yat the this is what i get in the simulator:
portrait:
landscape:
As you can see , in the landscape i dont see the view.
You are using 3 different types of constrains :
Compact Regular Portrait on all phones
Regular Compact in Landscape for iPhone XS Max, iPhone XR and iPhone Plus phones 6+,7+,8+
Compact Compact in Landscape for iPhone X, iPhone 4s, iPhoneSE and iPhone 6,7,8
Try to add another 4 constrains of your 8 and it might work