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
952 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
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in IPAD
- Site loads on iPad/Chrome but not on iPad/Safari
- Possible to use NFC for iPad
- Intune IpadOS disable Safari quick notes
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- How to setup different launch screen image for iPad portrait and landscape mode?
- Appear Circles in ZStack exact image position as navigationSplitView (.balanced) opens or close
- Can I use VS code on Ipad
- Webapp exiting fullscreen when dragging mui slider in iPads
- Why are pointer events disabled when using Apple's pencil in Safari?
- @media print @page margins not working on Mac Safari and iPad
- FontAwesome Icons displays as white on iPad instead of Black as on other platforms making them almost invisible
- SwiftUI .autocorrectionDisabled() behavior not updating with @State BOOL
- SwiftUI Previews Multitasking Options
- Flutter - how to prevent an app being closed by user on IpadPro (iPadOs 17)
- ipadOS 17.4: AVCaptureMetadataOutput delegate not called (qrscanner)
Related Questions in IOS-SIMULATOR
- How to press and hold in Xcode simulator
- Can't move files to Xcode's simulator even using Apple's directions
- Flutter : Exception attempting to connect to the VM Service
- Undefined symbol: _OBJC_CLASS_$_ only on simulator
- How to check if app is running in Xcode simulator from mac terminal?
- Is there a way to programmatically toggle 'freeway drive' on the ios simulator
- NSUserDefaults resets to wrong 'Webkit' content on iOS simulator 17
- iOS Simulator can't connect to a server
- app bundle file is crashing when drag and drop on simulator
- Xcode 15 - having issue while run on simulator but archive build successful
- Invalid App Store link when opening in Safari on iOS Simulator using Swift
- Appium Inspector is unable to find the locator of some UI component for IOS
- Rotate iOS Parallel Device Clones to Landscape Mode via Command Line
- Simulator with iOS 16.4 not appearing on Xcode versions 15.2
- How to use and test Wallet Transaction Shortcut in iOS Simulator?
Related Questions in IPHONE-5
- How to connect with iPhone 5s in Xcode 14.3?
- device-aspect-ratio is deprecated
- Xamarin.Forms and App Center: unable to install iOS release on iPhone 5s
- How can I code an iOS app while on my iPhone without a pc
- Only on iPhone 5: swipe event hits element underneath select list depending on list length
- push token's delegte method not invoke in Specifically in iPhone 5s with ios 12.4.5
- Links not working on iPhone 5C
- angular 5: Angular 5 app not rendered on iphone 5
- Message from debugger:Terminated due to Memory Error
- App crashes on only iPhone 5 when adding GMSMarker to the map: EXC_BAD_ACCESS
- Getting an iPhone 5 to use the 'correct' css rules
- How to get video to autoplay on older iPhones?
- UIView button not visible on iPhone 5 despite constraints
- How to find the cause of a 100% CPU usage on an iPhone App when i use ionic2
- Apple Mach-O Linker (ld) Error Group when run in iphone 5 Device
Related Questions in IPHONE-4
- Trying to prevent orientation change on an iPhone 4
- Define aspect ratio for iPhone app running iPad
- XCode 9 and iPhone 4s simulator
- Worry about the 4s?
- Layout missed up on 3.5" Screen iPhone 4
- iOS 10 iPhone app displaying at 3.5" on iPad
- Xcode: Could not locate device support files
- Why does the Master-Detail Application template crashes on iPhone 4 running iOS 7.1.2?
- iOS: CLLocationManager altitude returns only Integers
- Observer being added after postNotification ONLY on iPhone 4S
- My app registerForRemoteNotifications on OS after iOS 9 is ok, but before iOS 9 and use the iphone 4s or iPhone 4 it has trouble
- Make the app compatible with 32bit iOS devices, now only works for with 64bit devices
- TextureAtlas RGBA4444_COMPRESSED not working in ios7.1
- ld: -no_pie and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together error
- Using Delphi for ios apps on iphone 4
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 # Hahtags
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.