Iphone XR navigation bar height - iphone

My application works fine with all devices but for iphone Xr and Xs Max Navigation bar is half visible. While I take screen shot it looks fine but in simulator it looks like this. I am not having a real device(iphone Xr and Xs Max). Can any one guide, what should I do!

Related

ios.googleAdUnitId bottom banner doesn't show on iPhone 6 and 6+ in landscape mode

I'm using ios.googleAdUnitId build hint to make the app showing the ads at bottom banner in Codename One. In portrait orientation, the ads is shown on all my iPad Mini, iPhone 6 and iPhone 6+ devices. However, in landscape orientation, the ads is only shown on iPad Mini. It is not shown on iPhone 6 and iPhone 6+. Any advice? thanks.
The layout uses padding at the bottom of the form to reserve space for the ad. However, if the layout takes up all the space the padding won't have space left and would effectively disappear.
You have 2 possible solutions I can see:
Fix the layout so it will shrink easily (e.g. make the content scrollable on the Y axis).
Lock the application to portrait only on iOS (you can do that from the iOS section in the preferences).

iOS 7 in iPad eliminate x2 button for iPhone app

I am new here. I have an iOS 6.1 iPhone application. When I try to run it in iPad running iOS 7, the x2 zoom button at the right corner is gone and my iPhone application UI mess up with the wrong position. The UIWebView is stretched over size for iPad. How can I solve this problem? Should I change it manually?
As my comment seems to be the actual answer, I post it again as an answer.
Setting the App to be an Universal App and only providing a Storyboard for iPhone/iPod will result in this behavior. The iPad tries to use the iPhone Storyboard to display the App on the whole screen in full size without the 2x button. Thus all elements in the App will be positioned according to their positions defined for iPhone size display.
The solution here is to set the App available for iPhone only (in App target > Deployment info > Devices > [select iPhone here]) instead of Universal. This will result in the iPad to display the App on iPhone size and provide the 2x button to zoom in.

Converting Iphone Screen to Ipad Screen

I created an Iphone app and I am trying to convert them to Ipad screens. I have a login page which was created for Iphone, I tried to change it to Ipad by changing Project Settings screen and changed the emulator. But the Login page looks weird on Ipad Emulator, controls are get stuck to the upper left corner. How can I fix it to look centered on Iphone and Ipad?
here is the screen on xcode
here is the screen on emulator
You need to adjust the autolayout settings for each object.
http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2

App runs on iphone 5 like iphone 4

I have finally done to build Augmented Reality app.
The app works great for iphone 4 screen size Width :480 Height :320.
During the development I have also test the simulator to see launch goes well for 4 inch display (iphone 5), and it did go well the splash screen show was the 4 inch png named : Default-568h#2x.png and the screen shows a white background fully (like it should).
When I launch the app on a real iphone 5 device, the 3.5 inch splash screen loaded and the app load like it loads on iphone 4. Everything in the middle and I get a little black equal Margins from the side, the cable is original and this is the Weirdest thing ever happened to me.
UPDATE : i have also tried to add this code on the simulator and to the real device :
CGRect bounds = [[UIScreen mainScreen]bounds];
NSLog(#"%#",NSStringFromCGRect(bounds));
the simulator prints iphone 5 screen size, the real device prints iphone 4 size.
Any help please
Make sure you have all three Launch images set up correctly. :)
Make sure the image has been added to the target.
=> If you select your image file in the Project Navigator (left pane) the Utilities pane (right pane) should have a checkmark under 'Target Membership' next to your target.
I think that your views need to resize. You may need to include some code that detects what device the person is using and resizes the view. Just a suggestion.

iPad UI clipped in simulator

My views created for iPad form factor look fine in Interface Builder. However, when I debug my app in iPhone Simulator 3.2 (with Hardware -> Device set to iPad), I see the UI clipped and about half size. There is a 2x button at the bottom which lets me zoom in. But this just shows the same clipped UI in double size.
This is really weird since I have created the XIB for iPad form factor and it is supposed to fit iPad completely. Any ideas what I might be doing wrong?
I am using iPhone SDK 3.2 downloaded on 4/30/2010.
Thanks.
-Raj
It sounds like you've accidentally created an iphone project, rather than an ipad project. In the "New Project Dialog", make sure you select iPad from the "Product" dropdown in the middle of the dialog:
alt text http://www.freeimagehosting.net/uploads/7f49d44254.png