Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Changing the screen size(resolutions) of my ipad
-
Maybe this is a stupid question. But is there anyway to change the size of my iPad's screen to say to the size of a iphone5s or iphone 6? Of course, just want this ability so I can test my app for different size/dpi iOS devices. For me it does not matter if it's possible in pythonista or a third party app. Without knowing anything about iOS native Objective C classes/Libs, I feel it must be possible. Maybe it's super easy and I just don't get it!
-
If you have a mac, this is relatively simple using the XCode project template. You load your script into it, and can run it on simulator devices like this:
So, in XCode you can run it on simulated devices of all sizes.For on-device testing, you can set the app to be iPhone only and only support certain screen sizes. Then, if you load the iPhone app onto your iPad, it presents it in that screen size.
Here's an example with the iPhone app Kik running on my iPad mini:
And you can tap the button in the bottom left to blow it up:
I would personally stick with XCode simulators though. If you don't have a mac, I have no solution.
EDIT:
I see that you do have a Mac, from your post in the spam thread. -
at one time i was working on an ondevice monkeypatch to View which would let you simulate a different size device. it is not too hard to show a static view in a different size, but is harder to have it be fully functional...
-
Thanks @Webmaster4o. Hmmm, Xcode scares the crap out of me. I am sure it shouldn't. But it does. I will have to bite the bullet and give it a go :)
Still double handling. Just want to tell my iPad to be an iphone! Sort of like the 2x button that use to appear when you had a iphone only app.@JonB, thanks also. For sure, functionality like this has to be done with some calls to low level functions that changes the devices display characteristics. Of course it can be done, we see it in on our desktop computers. It's just a matter if there is a published API or not. In the old days, push some values into a register or memory location was enough to change everything ;) would not be surprised if it was the same today, just have to find them. I guess more sand boxing today which makes that hard also. Frustrating sometimes
-
This post is deleted!