launch-screen

iPhone X: Incorrect launch-screen orientation used

ぃ、小莉子 提交于 2019-12-08 15:41:06
问题 I am testing image launch-screens on the iPhone X and ran into a strange behavior. So I'd like to request some feedback before opening a radar: I created a portrait and landscape launch-screen with the dimensions 1125 x 2436 Pixel (portrait) and 2436 x 1125 Pixel (landscape). Then I add them to the asset catalog and they are picked up correctly: So far so good. Then I run the app on the iPhone X Simulator (I've reset the app before to ensure nothing is cached) and the (stretched) landscape

Removing LaunchScreen messes up the looks of the app

▼魔方 西西 提交于 2019-12-08 14:21:53
问题 I added LaunchScreen to my app, just to try it out and it works with no issues. When I went and removed it just by removing LaunchScreen.storyboard file, launch screen still showed up when I run the app. I then removed it from info.plist file and got an unexpected behavior, now my app appears in non-full screen mode and a bit zoomed in. Plus, I get the warning message that I'm missing default @568.png file. How can I revert to the state before adding Launch Screen? Or just remove LaunchScreen

Launch screen is black when set to a storyboard file

做~自己de王妃 提交于 2019-12-07 10:47:10
问题 I am using a storyboard to get the correct height of a navigation bar in my launch image. However, after customizing the view controller a bit, it now displays a black screen instead of a launch image. When I set it to a brand new view controller, everything is fine. It seems like the original view controller is now in a bad state. How can I fix this? (I'm running iOS 8.2 simulator on Xcode 6.2.) 回答1: The problem in this case was that there was an outlet set on the view controller . If there

Segue from LaunchScreen to a viewController in Main.Storyboard?

你说的曾经没有我的故事 提交于 2019-12-06 10:00:25
问题 I got some logic I want to do in my LaunchScreen, and if the check is alright, I want to segue to a viewController and if not I want to segue to another, is that possible? 回答1: I got some logic I want to do in my LaunchScreen Now that I understand the question, I can answer it: don't. Do your time-consuming logic later. Your job is to launch fast . You need to get out of applicationDidFinishLaunchingWithOptions , get out of viewDidLoad , and launch . What you show at that point is up to you;

Random Image for Launch Screen

耗尽温柔 提交于 2019-12-06 08:42:53
问题 I have 3 different images I'd like to use Launch Screen. I've added a UIImageView in the Launchscreen.storyboard And I was thinking I could use a simple Switch statement with a randomizer to select the image: var random = arc4random_uniform(3) //returns 0 to 2 randomly switch random { case 0: launchImageView.image = UIImage(named: "splash1.jpg") case 1: myImageView.image = UIImage(named: "splash2.jpg") default: /myImageView.image = UIImage(named: "splash3.jpg") } However I'm not really sure

Launch screen is black when set to a storyboard file

耗尽温柔 提交于 2019-12-05 16:59:16
I am using a storyboard to get the correct height of a navigation bar in my launch image . However, after customizing the view controller a bit, it now displays a black screen instead of a launch image. When I set it to a brand new view controller, everything is fine. It seems like the original view controller is now in a bad state. How can I fix this? (I'm running iOS 8.2 simulator on Xcode 6.2.) The problem in this case was that there was an outlet set on the view controller . If there are any outlets on the initial view controller (or, if the initial view controller is a navigation

Segue from LaunchScreen to a viewController in Main.Storyboard?

只愿长相守 提交于 2019-12-04 13:48:16
I got some logic I want to do in my LaunchScreen, and if the check is alright, I want to segue to a viewController and if not I want to segue to another, is that possible? I got some logic I want to do in my LaunchScreen Now that I understand the question, I can answer it: don't. Do your time-consuming logic later. Your job is to launch fast . You need to get out of applicationDidFinishLaunchingWithOptions , get out of viewDidLoad , and launch . What you show at that point is up to you; if you have time-consuming stuff (in your case, it sounds like you're networking or doing something else

iOS 10 Launch Screen Bug

最后都变了- 提交于 2019-12-03 23:49:29
问题 My Device and Simulator seem to be caching the launch screen for my app! I have deleted the original Launch Screen.storyboard and created my own XIB and swift files called "StartingPointView.xib" and "StartingPointView.Swift". The XIB file contains a view with Blue background color. It is also linked in the Xcode project settings under app icon and launch images. So far everything seems fine, but when I change the color of the StartingPointView's view to say Yellow, the app continues to

Launch Screen Storyboard with centered image iOS

↘锁芯ラ 提交于 2019-12-03 08:08:38
问题 1 - I want to use a LaunchScreen.storyboard in my app 2 - In this launch screen I need to insert a brand image in center of the screen Could anyone help me? 回答1: I got it! Here is a link with the steps images: 1 - Set launch file in tab > General 2 - Select LaunchScreen.storyboard in Project navigator, check the option "Use as Launch Screen" in file Inspector 3 - Drag and drop an ImageView inside the Views Controller Scene 4 - Select the ImageView added before, change its width and height. I

Adding launch image using LaunchScreen.storyboard in xamarin.ios

廉价感情. 提交于 2019-12-01 03:47:05
问题 I am working on Xamarin.ios and using visual studio for development. I have added LaunchScreen.Storyboard for displaying launch image as i want to target new iPhoneX device as well. Problem that i am facing currently is, i am not able to see image on either device or simulator for launch image. I cannot use LaunchImage.launchimage assets image approach as there is no placeholder available for iPhoneX for adding image in xamarin. I have tried adding images in Images.xcassets folder and