How to simulate smaller iPhone screen size without simulator? - ios

I have an iPhone 6 Plus but I don't have an iPhone 6.
Because my app uses iPhone's music library, iPhone simulator of Xcode can not be used to run my app.
So, I want to run my app on my iPhone 6 Plus using iPhone 6's screen size.
If I can simulate iPhone 6's screen size on iPhone 6 Plus, I can test my app of iPhone 6's screen size and also I can take screenshots of iPhone 6's screen size for iTunes Connect.
Is there an easy way to simulate iPhone 6 screen on an iPhone 6 Plus device?

I guess there is no way to do it. The best thing you can do is to remove music lib from the project, comment out the related code and do some screenshots on Xcode emulator.

Related

How to obtain app screenshots for different iphone sizes (4S, 5, 6) in XCode

If I would like a certain screenshot to be displayed for all iphone screen size dimensions, how would I do this through the Xcode simulator? For example, when I select the simulator to run on the iphone 6 and hit cmd+s, a screenshot is saved but only for the iphone 6 dimensions. If I would like this same screenshot to be obtained for iphone 5 and iphone 4s, how would I do this? This app can also run in the simulator for iphone 5 and 4s but the same exact screenshot cannot be replicated for obvious reasons.
Apple requires different screenshot sizes for app submission and I would like the screenshots to be the same across the board.
You have to run your app over each time for each simulated (or real) device and capture each screenshot separately.

How to support app for iphone 6 and iphone 6++

my app is live on itune appstore but its showing that it is compatible upto iphone 5/5S. But i had tested the app on iphone 6 and 6++ simulators and it is working fine.
What i have to do so that it should show that this app is compatible with iphone 6 and 6++
Thanks
In order to support iPhone 6 and iPhone 6 Plus compatibility, either you need to use a LaunchScreen file or simply add Launch images for 6/6Plus. Now when you try to run the app, it will automatically detect screen size and you can clearly see the app in correct dimension and size.

Does iPhone 6 / 6 Plus simulator supports changing of Display Zoom mode?

How to change Display Zoom feature in iPhone 6 and 6 Plus simulators?
Original iPhone 6 and 6 Plus have this feature in Settings -> Display & Brightness -> Display Zoom (View) with values Standard and Zoomed.
As of Xcode 12 (and perhaps earlier) Settings -> Developer -> View -> Zoomed (tap Set) will adjust the simulator to show with Display Zoom. This is helpful as the iPhone 11 Pro, iPhone 12 mini, iPhone 12, and iPhone 12 Pro all run at a previously unused resolution of 320 x 693. For more information check out this excellent article by Geoff Hackworth.
Display Zoom is not available in the simulator (as of Xcode 6.0).
The answer is correct, Display Zoom is not available as an option in the current Xcode 7 iOS simulator settings. However, it is actually possible to 'simulate' Display Zoom when running your app in the simulator.
Background
When building a typical project for iPhone, you generally specify a LaunchScreen.storyboard file and/or launch images in Images.xcassets for the iPhone 4/4s (2x), iPhone 5/5s (Retina 4), iPhone 6/6s (Retina HD 4.7) and iPhone 6+/6s+ (Retina HD 5.5) and set those details in the project's settings. (See image below.)
When Display Zoom is turned ‘on’ for a iPhone 6/6s device, the device runs the app as if it was running on an iPhone 5/5s sized screen, upscaling the app x1.172 to fit the iPhone 6/6s display. (Similarly, when Display Zoom is turned ‘on’ for a iPhone 6+/6+s device, the device runs the app as if it was running on an iPhone 6/6s sized screen, upscaling the app to fit the iPhone 6+/6+s display.)
Note - The following instructions require the removal of some launch screen image files. You might wish to attempt these changes on a duplicate of your Xcode project.
Simulating Display Zoom on the iOS Simulator
To simulate Display Zoom for example using the iPhone 6 simulator in Xcode:
1 - Remove the LaunchScreen.storyboard file.
2 - Remove both the Retina HD 4.7 and Retina HD 5.5 launch images in Images.xcassets. (Make sure to keep the Retina 4 launch image.)
3 - Remove the reference to the ‘Launch Screen File’ in your Xcode project’s settings, under ‘General’, under ‘App Icons and Launch Images’.
4 - Select the iPhone 6/6s simulator, and then 'Run' your app.
Running your app
When the simulator runs your app, it will detect that no launch images are present for iPhone 6/6s, so it will presume it must be an iPhone 5/5s app and launch it into the simulator upsampling a iPhone 5/5s sized screen to fit the iPhone 6/6s screen, just as the Display Zoom setting would display it!

Is there an iPhone 5 simulator?

My hard drive crashed, and I had to re-install all the development software.
It seems like when I create a new project, it is targeted for the iPhone 5 (The UI editor has a taller screen in the layout) but the simulator is an iPhone 4 (the screen is not as long) All so When I layout the UI in Xcode, the simulator sometimes draws things at different vertical positions.
Is there a way to get a simulator for iPhone 5?
Can you create a project that has it so the UI editor is targeted for the older iPhone, iPhone 4?
You can select either of the simulators you want for your project:
iPhone Retina (3.5-inch) is for iPhone 4 or iPhone 4S and iPhone Retina (4-inch) is for iPhone 5.

iTunes Connect requires iPhone 5 screenshots for non-iPhone5 app

My app doesn't support 4-inch retina display (no iPhone 5 splash screen or Default-586h#2x.png in project), but ITC still requires screenshots for it. Is it mandatory even for non-iPhone 5 apps? Should I just use screenshots of my app in letterbox mode or is there a way to specify directly that my app doesn't support iPhone 5?
You could just fire up the simulator in 4inch mode and get the right sized screen shots there

Resources