Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
After running my App in Xcode IOS simulator, I can see my App and when I open it after 1 or 2 seconds, instead of showing my App it shows a blank white screen saying "Hello World!".
This is my first time Developing an App and using the iOS App simulator. Please help me with this problem. I have used different iOS device simulators but the results are the same.
It is a little difficult to judge given that we don't see your project, but I think you put your UI code in the wrong storyboard. If you create a project from scratch with Xcode you will have a structure similar to the following one:
You have two storyboards: Main.storyboard and LaunchScreen.storyboard.
LaunchScreen.storyboard contains the "splash screen" that is the screen that is shown for just a few seconds while the application starts (like a loading screen), while Main.storyboard is the actual first screen of your application.
I think that you added all your UI to LaunchScreen.storyboard instead of Main.storyboard and that is why you see it only for a couple of seconds.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
This is as simple as it gets. I develop a simple UI interface without functionalities and such, and when I deploy on my iPhone SE 1 device, which is an actual physical device, it just gets a blank white screen, why is this bug happening? Regarding the app, it has only some basic elements, such as label and a button which does nothing. How can I see the actual elements on the screen. When I look it in the XCode, various devices, they appear to be working, i.e. they are displayed. Also, if I close the app, and re-run it from my iPhone by tapping on it, then the UI shows. Do you know how to fix this?
I had this exact same problem a while ago, but it was for my iPhone 7 plus. The blank white screen was the launch screen. Turns out what happened was that I had an older version of Xcode Beta (version 12A6159), and when I downloaded the GM seed (version 12A7209), something was conflicting. Not sure what, but when I moved version 12A6159 to the trash and re-installed version 12A7209, it worked. This was back when Apple had just released iOS 14 back at the September event.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I encounter a very strange problem: I got reports from some of my clients that my iPhone App does not show up full screen. It leaves a black bar on top and bottom of the screen. I have got one sample report from a client running iPhone 7 and iOS 12.1. Having the same device and installing the same App (AppStore download, as client does) I cannot reproduce this behaviour. I cannot reproduce it on none of my many devices and iOS versions nor on the simulators. According to AppStore reviews other clients are facing the same behaviour too, but nobody I know can reproduce it. I attached a screenshot taken by one of the clients: anonymous screenshot of app with black bars
Edit (due to Question put on hold by guys not understanding the question...): The desired behaviour of course is an App presenting full screen without any black bars
The project is all iOS/XCode default, I am using a LaunchScreen.storyboard with identical settings than a new default XCode Project. I am developing using XCode 9.4, Deployment Target is 9.0, the project is in Swift. I am aware that this was a common problem with the arrival of iPhone 5, but it should no longer occur if using Launch storyboards. None of my other app share this problem.
Does anybody has an advice?
It looks like you are using an old way of determining launch screen. After iOS7 you can define a launch storyboard to create the launch screen. If you use the old method by assets, were you add some images to be used as launch screen, the app 'understands' that is not updated for iOS greater than 7, so, you have to remove these assets screens and use the launch storyboard. It must fix the top and bottom banners.
You can add LuanchImage like:
Then you can set images with the correct sizes for atleast:
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am developing a PhoneGap app.
Screen orientation for all the pages working fine but when I open photo gallery in iPhone then it's screen orientation not supporting. Any solution will be appreciable.-Thanks
There is an oversight in the default platform add script for phonegap / cordova that doesn't add the landscape orientations to the .xcodeproj file -- you'll need to add them yourself:
Under your project, browse down to the platforms / ios directory and double-click on the .xcodeproj to open it up in Xcode.
Select the project node in the left-hand column. In the center pane, look under Deployment Info / Device Orientation and make sure the Landscape orientations are selected.
Quit Xcode and rebuild / run emulate again. You should see the device respond to the rotate events.
I think this is only a bug on the iPhone. The iPad should already work correctly IIRC.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
In my single binary which is to upload to App Store, I want to give two different app icons, one is for iOS 6 and one is for iOS 7 (which will be shown on home screen of device). As when I set iOS 7 designed icon, it looks odd in iOS 6.
In Xcode 5, delete the default Images.xcassets asset catalog and add a new one with the same name. You need to do this because the default asset catalog is missing some of the icon presets.
The default assets catalog has these presets:
Recreating the assets catalog gives you these presets:
You can get all the icons for iOS6 and iOS7, just need to give appstore icon...
http://makeappicon.com/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
i have a working and almost finished application for iphone and i want to make it working on ipad too. I use iphone storyboard.How to add iPad storyboard and link it with the code?
I haven't done this before, but isn't the solution just to add a separate storyboard-file for your iPad interface? Choose file -> New -> File. Then in the iOS / User Interface section, click on storyboard and hit next. Make sure you choose iPad as Device Family.
In your iOS Application Target change Devices from iPhone to Universal. Scroll down and select your Storyboard file for your iPad in the iPad Deployment Info section.
The rest should be pretty much like making your iPhone app. You'll have to make the iPad UI and connect buttons, make icons, etc.