Why does my display look different on iPhone simulator vs. iPad simulator? - ios

I am working on a puzzle app on Xcode Version 11.0. My app displays as expected on my physical iPad mini and also on the iPhone simulators, but if I use an iPad simulator it appears to switch the orientation to Portrait mode and display my secondary screen as a popup on top of the secondary screen (see the images below).
I am using an "Action Segue" to get from my 1st screen to my 2nd screen. I have tried several different options (Show, Show Detail, Show Modally, Present As Popover). The result is slightly different, but all of them give the "Portrait popup" look. I am guessing that this is a newer feature, and I just need to set some flag to avoid it, but I don't have any guesses on what to look for. Could anyone offer some help?
iPhone 8 Simulator (this is what I want it to look like)
iPad Simulator (with undesired Portrait popup appearance)

Edit the segue to be Show Modally and also Fullscreen (instead of Automatic).

Related

UITabBar image incorrectly positioned on iPad when inside splitview + navcontroller

I have a hierarchy like so:
In storyboard, on iPhones (in all orientations), and when using iPad split screen with another app (see screenshot below with contacts side by side) this all works great.
However, when the iPad app has the full screen, my tab bar images are horizontal instead of vertical.
Anyone know of a way to force the tab bar to change the orientation of it's images so it's vertical? It's almost like the OS doesn't recognize that it should be using the compact traits for this mode on iPad.
Further details:
This is an iPad 9th Gen simulator on iOS 15.4. and is also present on a real iPad (5th gen iOS 15).
I am using SF Symbols for the image in the tab bar
I am using the technique described here so that I can have more fine grained control over whether any given view should be shown in the master nav/tab view or if it should show up in the detail view.
I am using .allVisible for the preferredDisplayMode, tried changing it to primary over with no luck.

Top navigation is not coming properly - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

My App is iPhone only and it works great on iPhone device. It got rejected by Apple with below message:
iPhone Apps must also run on iPad without modification, at iPhone
resolution, and at 2X iPhone 3GS resolution
When I run my app on iPad it's cutting part of the navigator at the top. Attached is the screen print.
Anyone got any clue how to fix it?
I think you navigation bar is covered because its position is lower than the 20point reserved for the status bar. To check its position, click on the navigation item or bar, go to Size Inspector and under View, you will see the X & Y positions. Or you can set constraints for it. I hope this helps.
Actually I solved this problem long back but missed to update the solution here. I was getting this issue on iPad because it doesn't use status bar as like iPhone for iPhone app. So I did leave the status bar space at the top of the view controller. Also, this issue occurs only for standalone ViewController and if we use Navigation ViewController, issue is automatically resolved.

IOS 8 iPad make only Launch Screen portrait only

I know how to make an iPad app portrait only for the whole app and how to make particular views portrait only, but not how to make the launch image portrait only. How do I do it?
Currently I only have "portrait" checked under "iOS 7.0 and Later" in images.xcassets. The reason I want the launch image portrait only is I tried getting landscape to work but despite multiple attempts and asking about it here, I had no luck.
Clarification:
I want the app to handle both portrait and landscape iPad and iPhone. But the landscape image for iPad does not display so I want to force the launch image and just the launch image to be Portrait only.
No idea if you checked this but here is something often overlooked.
In the Workspace, if you choose your target project, in Deployment Info, there are two things to check there. First, make sure the Device Orientation is set to "Portrait" only. Then, open the drop down menu on "Devices". Choose each separately and do the same thing. For some reason for me, universal does't apply it to iPhone and iPad simultaneously.

How to simulate double-touch on home button in iPhone 6 simulator (for Reachability)? [duplicate]

The iPhone 6 Plus has a "one handed mode" that Apple describes as "Keep everything within reach" on their iPhone design page.
The mode is enabled by double touching (but not pressing) the home button. When enabled the screen shrinks to roughly half its normal height.
Is there a way to enable this mode in simulator for testing how it looks and transitions?
I'm running Xcode 6 GM and have not been able to uncover anything. Worst case, can someone post the exact dimensions on device so it can be emulated via the resizable iPhone simulator?
Update: According to John Gruber's review, the feature is available on the iPhone 6 Plus and 6, and is not a "mode" so much as a momentary shortcut. Maybe since it only lasts for one tap it won't be important to do extensive testing. He shared a screenshot showing the corresponding size difference:
The simulator doesn't seem to have this capability, but it doesn't matter since it just moves your app's entire view down and uses the home screen background to fill the top. Devs don't need to do anything to their apps in regards to it.

UITabBarController does not respond on iPhone 5 simulator: 4-inch retina display

I have a UITabBarController that displays four options. These have all worked fine until now.
My problem is that the tab bar does not respond only when testing on the 4-inch retina display device in the IOS Simulator. All other devices the tab bar responds and I am able to select other views.
I don't have an iPhone 5 to test it on so I don't know if this is a fault with the simulator or Apple have changed the workings of tab bars etc for the new hardware or made it stricter and I wrote the wrong code in the first place.
I had this issue as well and this worked for me:
Go to the MainWindow.xib, select the Window object and check the "Full Screen at Launch".
In your main window, select the "Full Screen at Launch" option. Here's an image:
Could there possibly be a transparent view over the top of it? The change in view size might be positioning something in the wrong place.

Resources