Convert iPad application to iPhone application? - ios

I have written a tab based iPad application which has done well. I never intended for it to be an iPhone application because the content it displays really doesnt lend itself to such a small screen.
However, I have been getting a lot of requestes for the application to be compatible with iPhones as well.
Can someone point me in the direction of some documentation that may help me figure out how to convert my app.
I presume it's not so simple as having aanother set of XIB files for iPhone and just have it display them if the app is running on a phone...

I recently found this blog post on the topic. You might find it helpful:
http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad
Plus there's some discussion of creating a universal app here:
iPhone & iPad versions of same app?

iPad Programming Guide: Creating a Universal Application

Related

Guideline 2.4.1 Releasing to App Store

I am trying to submit an app to the app store, and this is the issue I got:
Guideline 2.4.1 - Performance - Hardware Compatibility We noticed that
your app did not run at iPhone resolution when reviewed on iPad.
I have set constraints on all the view controllers. Would you know how to solve this issue (I have seen other posts related to this, but none have had an answer on how to solve that problem? Also, this has nothing to do with the deployment target, because I released only for iPhone, it is just that apple wants it to work for both iPhone and iPad, for some reason)?
Possible Solution (that worked for us)
View the app in iPhone 4 and design for that as well. For some reason the view dimensions of iPhone 4 and iPad are the same.
Thoughts
I had this issue happen to me a couple months ago. It basically means your app is not usable when used on iPads. This definition of un-usable could mean buttons are blocked off items are not structured correctly.

Add support for iPad Pro 10.5 screen

I'm developing an iPad app, but when I run it on my iPad Pro 10.5 the status bar is bold, a sign that the app is not optimized for that resolution. How can I add support for the new iPad? I see that other App Store apps (such as Trello for example) work good in full resolution.
I know that there's another question similar to this, but the answers don't really solve the problem. All the 3rd party apps on my iPad are perfect on the screen, but not the one I'm developing. This means that all the other developers have added the launch screen images (not a common practice nowadays) or they found a clean way to do it.

Programmatically lock iPhone on iOS

Does anyone know how to programmatically lock the iPhone on iOS? I don't care if it involves using private API or framework as it's for personal use.
I have tried using https://github.com/neuroo/LockMeNow but it doesn't work on my device (running iOS 10). I guess it's for iOS 5 and below only. Does anyone have an updated method that works on newer versions of iOS?
My iPhone 5 lock button is not working properly, so I wrote this application.
If that is the issue, there is a better way. Turn on AssistiveTouch.
You'll find it in
General -> Accessibility -> AssistiveTouch
I use that because all my buttons aren't working and it's very easy to get used to. I know this doesn't strictly answer your question, but it may solve your problem. I hope it helps.

iOS Simulator Rendering issue for PDF Reader Core for iOS

I have searched around on here, but couldn't find anything to answer my question. I have developed a custom app for the iPad; it involves using a set of PDf documents that change pages based on a 1 second time frame. To achieve this is have used the 'PDF Reader Core for iOS' external library. Please find the link here: https://github.com/vfr/Reader
The app works perfectly fine on the actual iPad, however I also wish to run the app on Mac Mini Machines, so the obvious thought I had was to boot the project in the iOS Simulator on the machines (saves me recoding it for OSX.). Now, here is my issue. The app works pretty smoothly in the simulator, the only issue I have is that there is a slight render lag between the page change on the Simulator. It isn't at full resolution, and appears blur whilst it renders, however the time frame to change is so quick that the simulator doesn't have enough time to render to full resolution. I have also emailed the developer of the library and he provided some suggestions however, these didn't seem to fix the issue.
I am aware that this could be to do with the actual PDF Reader itself, however I wanted to ask if anyone had any suggestions if this could be fixed in regards to the iOS Simulator? Any way to speed up the simulator?
I am using OSX Yosemite, Xcode 6.4 and Objective-C.
It seems at this moment i may have to recode for OSX. Any suggestions would be highly appreciated.
Thanks

iphone 6 and 6 plus size scaling

I am surprised how I was unable to find anything on this matter clearly addressing the How-To's rather than what to expect from Apple in the new iOS.
I am developing an application from scratch now and whenever I use the simulator of iphone 6 and iphone 6 plus in the xcode IDE, i get things misplaced in the screen such as shown in attached screenshots.
How can I build an app that would work on all iPhones the same way (autoscale or auto-resize)? If this has been answered before, please lead me to that topic/thread since I wasn't able to find anything decent and clear explaining this.
It's all about autolayouts.
Here is good article for You: http://mobileoop.com/how-to-use-auto-layout-in-xcode-6-for-ios-7-and-8-development
Or the official Apple: Auto Layout Guide

Resources