iPad device UIToolbar bug which doesn't exist on simulator - ipad

When running the a universal app in the iPad simulator, the UIWebview shown below works great:
However when I run it on an iPad, the UI looks as follows:
This UIToolbar issue previously was an issue on both the device and simulator, but after I made some changes now only exists on the device...any ideas?

Related

Xcode app turns gray when I try to run it on real device

I can't find an answer to this anywhere. My app runs perfectly on the simulator, but when I plug it into my iPhone 5s, it gives me a gray screen when it runs. I have iOS 8.4 and Xcode 6.4. All my provisioning is set up correctly and the little app icon appears on my device screen. I can't figure out why when I tap it, it brings up the launch screen and then the screen immediately turns gray. Could this be an issue with my device?
Screenshot of screen when I try to run on device:
http://imgur.com/PsEAOCF
Edit:
I figured out that the device runs the code thats in the main storyboard, but nothing else. I'm making a SpriteKit-based game and all of my code is in scenes, the only thing I have in the storyboard is an iAd. I can't figure out why the simulator runs my GameScene but the device only runs what is posted in the storyboard.

Why my iPhone app runs in fullscreen on iPad

I have an iPhone app which works fine on iPhone 5 and 4s, when i run it on iPad2 i am expecting it to run in small window with 2x resolution but instead it runs fullscreen messing up all the layouts, apple has rejected my app and i need a fix.
I have created this app as iPhone only and built on Xcode 6 with ios8.0 sdk,
Please help
thanks
If you set a launch screen for your app, it will be fullscreen on iPad.
In Xcode, select your app target, then select General tab, scroll to App Icons and Launch Images, checkout the Launch Screen File.
Ok so finally deleted the xib file which i was using as launch screen and used the default images instead that solved the issue for me now , app runs in 2x mode on iPad with launch screen.

Why the inputView of an iPhone app is so wrong on an iPad Air?

Last night I was playing with a friend's new iPad Air in the bar. I downloaded my own app onto his new iPad Air and found a very weird bug.
My calculator app for iPhone looks typically like this:
The keypad is an inputView of UITextField.
However, when the app runs on the iPad Air, no matter at 1x or 2x mode, it is like:
Some of the keys are randomly positioned. I ran the app on my Mini (1st gen) before without such issue. Do you have an idea what cause the keys relocation?
The bug only shows up when the calculator is started during the iPad is at landscape mode. Fixed by removing excess suppoorted landscape modes from the Info.plist:

App works on iphone ipad simulator but not ipad device: Black screen and then goes out

I've an iPhone app that Works perfectly on iPhone simulator/device.
It runs in iPhone resolution and iPhone 2X resolution (i.e. I didn't add any root viewcontrollers for iPad).
The problem is the application works fine on iPad simulator, but when open in iPad device, the screen goes black then the application exit.
What do you think the cause of this problem?
I just ran into this problem after upgrading an iPhone app to be a universal app. The app worked in the iPhone and iPad simulators, but when I tried running it on my iPhone, I got the same black screen and app exit as you did.
The fix was to make sure that the 'Main Storyboard' was set properly on the Project Targets Summary page for both the iPod/iPhone section and the iPad section. For some reason, my iPod/iPhone Main Storyboard was blank. After fixing it, my app started working.

Application doesn't work in iPad Simulator, fine in iPhone Simulator

I created an application and it runs OK when I use the iPhone Simulator. When I try to run it on the iPad Simulator it doesn't work.
Several things that may assist anyone who tries to assist with this issue:
In the iPhone Simulator I tried to change the Hardware settings - selecting Device---iPad and also changing the Version (3.2 and 4.0). did not do any difference.
When it runs with the Device---iPad selection it simply opens it with iPhone Simulator
When I open the iPad Simulator without Build and Run from XCode I don't see my app in the applications list on the simulator view.
Should I define something in XCode or in the simulator (like saying "this application should also run in iPad")?
May the problem be related to versions issue? Any other ideas?
The simulator will open to which ever device the project target is set to. Therefore, if you set it to iPhone it will always open in the iPhone simulator. Similarly if you set it to iPad it will only open in the iPad simulator. If you set it to be Universal, then it will support both.
It has nothing to do with which hardware type you select in the simulator. You have to change the target Devices.

Resources