Clock and Fonts scaling up in pad pro - ios

I am working on a application, in which first I run the app with Ipad Air and then with Ipad pro simulator with same scale then, the fonts and clock scale up in ipad pro. I am unable to understand why this thing is happening in ipad pro.I have searched for this issue but there nothing helpful related to this.So I need help on this.
Thanks in Advance.

Your app probably gets scaled because you do not have a launch storyboard.
Add a launch story board via New->File->User Interface->Launch Screen
Make sure you select it in your projects setting under 'Launch Screen File'

Related

iPhone application pixelated on iPhone

I've two live apps on Appstore, my one app is looking quite blurry on iPhone 11(which I just bought) and its fine previous models of iPhone, but my another app looks fine on iPhone 11.
The first app which is blurry is built on xib file and base screen size of iPhon SE and second app which look fine is built on storyboard and base screen size is iPhone 8 but I think that may not be the reason.
Blurry App on iPhone 11 (as it look pixelated)
Blurry App on iPhone 8(as it looks fine and crisp)
Xib file of Blurry App
Let me know why this is happening and whats the solution ? Do I need to revamp all screens in project? Looking for suggestions.
Thanks
Finally I found solution and the culprit was iOS 8.0 and Later check. It was unchecked, which I marked checked and added Splash screens for these defined sizes and my whole apps screens became crisp from pixelated.

UIView shows perfect on iPhone but not on iPad

I am pretty new to iOS development and I am able to create views and controllers. I have been testing using my iPhone and other sizes of iPhone and they look great. I tried once on an iPad but it was a border around the screen like in this image.
I constrained to margins and I did not give any height or width constraints so it could stretch properly. It also looks good on the storyboard viewing so what could I be doing wrong? Can't seem to find any resource online to help.
This is default behaviour when you run iphone app in ipad
This happened because your app is supported iphone only .
Tap on your project and select universal if you want to add support for both iphone and ipad.
Other option is you can check requires full screen check box but it will still show black bar
Note: However you are developing iPhone Only app but it is compulsory to check that everything works fine in ipad because apple review team will also check that in ipad and your app may be rejected if something is not proper
May be you have made an iPhone app. Try to change the setting to Universal app in the xcode settings. Normally iPhone app shows scaled on iPad, which is same as in your case.
Select Projet in xcode -> General Setting

iPhone app does not work correctly on iPad after change from universal to iphone only

How can I run iPhone apps on iPad after changing the target from an initial 'Universal' to 'iPhone'?
I'm working on a game for iOS (iPhone) using Swift and SpriteKit. The game got rejected today for this reason:
Reasons for Rejection: 2.10: iPhone apps must also run on iPad without
modification, at iPhone resolution, and at 2X iPhone 3GS resolution
After searching on StackOverflow I found out that it might have something to do with my info.plist file because at first my app was 'universal' and later I've changed it to iPhone-only.
It seems like there's something wrong with the aspect ratio of all the nodes. Take a look at the screenshots below. At the left side is the iPad-simulator and on the right there's the iPhone-simulator.
Maybe the game still thinks it is running on iPad because the nodes appear in 4:3 ratio?
How can I run iPhone apps on iPad after changing the target from an initial 'Universal' to 'iPhone'?
Please help. Thanks!
I've also added a screenshot of my info.plist file.
Apple requires that each app targeted on iPhone should run on iPad in the specific manner.
This usually looks like the app on iPad is not full-screen, it's surrounded by black frame that resembles the situation that the iPad is simulating iPhone.
My suggestion is to use size class now to make the app run full-screen on iPad and this should fix your issue with Apple.
Simply choose in your storyboard Regular Width and Regular Height, delete the existing constraints and set new ones.
More help here and apple docs also might come in handy
Darvydas' comment solved my problem.
What size does your background node have? Also if you whant your app
run only on Landscape delete those 2 (Item 0, Item 1 PORTRAIT)

Will iPad2 app work on iPad3?

I am new to iOS,
I seen that iPad 2 has resolution of 1024-by-768 and iPad 3 has resolution of 2048-by-1536 with retina display..
I am sure that iPad 2 app will defiantly work on iPad mini because the resolution is same..
and same case for iPhone,
Do we need to develop separate app for iPhone 5 ? because it has resolution different then other iPhone..
I am sure this is a dumb question that any mildly experienced iOS developer would laugh at but since a simple Google search didn't turn anything up I figured id ask.
Any help will be appriciated.
Will iPad2 app work on iPad3?
Yes, it will. The iPad 3 has exactly twice the pixel density in each direction as the iPad 2, so the OS will just go ahead and "scale up" the graphics (except those which are made from images in the app - you'll have to generate a higher resolution version of these image files for iPad 3).
Do we need to develop separate app for iPhone 5?
Not a separate app, you just have to pay attention to the different screen aspect ratio. If you don't do that, you'll have black bars at the top and the bottom of the screen.
iPhone 4 Apps will work on iPhone 5 :
But it will have black spaces at top and bottom, In order to refactor it you just need to change the splash screen which is suitable for iphone 5.
iPad 2 Apps on iPad3:
It will work without any issues unless they have different iOS versions running in them.
As far as I know, the difference between the iPad2 and iPad3 won't be such a big problem. (unless you want to be really exact)
Whereas you should develop a new App for the iPhone5 because it has a greatly different screen format than the iPads.
Yes, your iPad 2 working app will work on iPad 3 (also, depends on iOS version). Just it will not look good :) In order to make it look good, for all images used for your app, you have to add #2x ones with double size.
As for iPhone 5, no, you don't have to develop different app, just you have to make your views resizable to fit on screen. Good Luck!

XCode 4.3.1 iPad simulator

Does anybody know why home button is missing for iPad simulator only?
Its a simple redesign to make more space for the simulator screen. You can trigger the home button from the menu Hardware > Home Or using the shortcut: ⇧⌘H.
I don't think this is an enhancement at all. This is by far a notorious bug and a bad one. I know that home button action can be reproduced by cmd-H or its double click by doing cmd-H twice, though it could activate the slow motion animations too (annoying!). My point here is that whenever you run the simulator and start testing doing rotations (cmd-arrows), at one point you won't be able to tell if iPad orientation is to the right or to the left!... there's no visual clue whatsoever!
Bad Apple!, bad Apple!
It appears it is looking at whether or not there is adequate screen resolution to display the bezel. For example, I have a 17" Macbok pro that I develop on (1920x1200 resolution). When I launch an iPad development project and the suimulator comes up on my Macbook pro's desktop, no problem, the bezel shows. But let's say I then drag it over to my external monitor which is 1920x1080, then quit and relauinch the simulator... it comes up without a bezel.
My co-worker who has a Macbook Pro 13" (lower resolution), never sees the bezel. I suspect the newer retina Macbook Pros will always show a bezel.
This is of course, al pertaining to the regular, non-retina iPad simulator. I am not sure if given adequate screen resolution, the iPad retina simulator would show a bezel or not?
See http://openradar.appspot.com/11017007 for the real answer: "Engineer who removed the bezel from scaled iOS Sim not thanked enough, probably"
I personally don't need more screen space for the simulator with my Thunderbolt 27" display. I'd like the frame back, thank you very much! I also noticed with this version the application icons often show as blank white icons, even for Safari and Photos.
No, but you can trigger it from the menu bar (Hardware -> Home).

Resources