I have a stupid question: Why when I debug an app for iPhone in an iPad the simulation start in a iPhone 4 screen and not in other types of screen?
iOS: test app for iPhone in iPad, screen size
951 Views Asked by cyclingIsBetter At
2
There are 2 best solutions below
5
dstudeba
On
To set the App to work on a different size screen you must add that screen size to the LaunchImage asset.
1) Create an splash screen launch image for the size of the iPad you want to use.
2) Import it into your project
3) Open images.xcassets in the Project Navigator

4) Select LaunchImage
5) Drag and drop the splash screen launch image to the correct iPad asset

It is very frustrating and seems strange, but the Launch Image size tells the App what dimension it can run on. Setting image sizes in your screen or using auto layout won't work unless that Launch Image size has a splash screen
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in IPAD
- Setting View orientation to portrait is ignored
- How to force close ipad/iphone keypad when input element is not focused using JS?
- UIDocumentInteractionController presentation style
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Exchange plist data between 2 iPad using iCloud
- an app supporting arm64 and armv7 running on arm64 and ios 7 ipad air
- My SIOSocket get disconneted automatically when i locked my ipad
- using livestream video in iOS application
- Always shown vertical and horizontal scroll indicator on a uiwebview
- Is it possible to opt your iPad app out of multitasking on iOS 9
- Bind html button click with objective c
- iPhone App won't run on ipad at 2x resolution
- Missing icon and storyboard files, iOS 7 and 8, Xcode 6
- iOS infinitely deeply nested TableView/UIGestureRecognizer view tree AND iPAD requires 2 finger scrolling on a tableview
Related Questions in IOS-SIMULATOR
- iOS launch app with environment variable
- AdMob - Testing Vs. Publishing
- Image.xcassets rendering strangely on simulator
- 'Session Ended' when lauching app from Delphi to iOS Simulator
- Auto Resizing of the tableView Cells is not working with multiline labels in its contentView
- Autolayout and constraints not working, buttons look different in Xcode than they do in IOS SImulator
- Can we push the digital crown using the Apple Watch 2.0 Simulator?
- Coco2dx - Changing To Background Image
- iOS: test app for iPhone in iPad, screen size
- facing this error while building a project in xcode
- Recording App Video Previews with QuickTime
- ios-sim stopped working "NSCFString containsString" error
- Is there a way to show the entire simulator screen?
- Xcode 6.4 "Could not download and install iOS 8.3 simulator"
- Assertion failure in -UIPickerTableView
Related Questions in IPHONE-5
- iOS: test app for iPhone in iPad, screen size
- How to fix iPhone screen width using 4 inch storyboard using auto layout?
- iOS 8.x alternative to detect iPhone 5s, using [UIScreen mainScreen].bounds.size.height == 568.0
- Xcode 6.1 not showing launch image on ios 8.1
- How to detect iPhone 5 screen in iOS 8
- iPhone6 View is not displaying properly in iPhone5
- I can not install ipa on my device
- How to consolidating the translucency of the navigation bar between iPhone 5S and 5?
- IOS app crashes on iPhone 5
- Xcode quit unexpectedly while using the dsc_extractor.bundle plugin
- Custom Tableview getting crash in iPhone5(iOS7)
- The iPhone 5 has 3 mics. Can I change from which one I'm recording?
- setting image on UITabBar shows an extra line on Image
- Perform action as soon as camera opens ios
- UIImagePickerViewController camera preview black screen on iPhone 5 working fine on 4S
Related Questions in IPHONE-4
- iOS: test app for iPhone in iPad, screen size
- Need quick way to identify A5/A4 devices
- Need to test website on my desktop like iPhone 4 on pc
- iOS 7 Filters on the iPhone 4 not working
- How to decrypt this crashlog?
- iPhone 4 font size too large to fit
- How to determine on which iPhone my App is running?
- display image in iphone 4 retina display
- @2x images not loading in some iPhone 4 devices
- what happens when a retina image loads in a iPhone 3gs device?
- iphone 4 UIAlertView setAlertViewStyle unrecognized selector sent to instance
- Corona - SpriteHelper files not working on iPhone 4 and 4S
- iPhone - Should I create 2 diffrent sizes images for Retina & Not retina display dedive?
- Missing focus cursor on input in hybrid app
- Disabling old devices support for developed app in xcode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If I understand you correct, please use this button to choose which one you want to use in simulator :
when you click you should able to see some list like this :
If you're not able to see other iOS version you can add them in Xcode/Preferences/Downloads section :
please let me not if you're not asking this.