Is this possible? It looks like I am going to need 9 different launch images, so replacing them all would be a bit of a chore.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
Yes, you can do this with XCode 6. This is a new feature added with the new release.
The Session 441 from WWDC 2014 give you more information about this way :)
Enjoy !
Unfortunately, I think you can't use vector artwork for ALL of your LaunchImages... ... but there's an approach which makes our lives easier: the new
LaunchScreen.xib
.In File > New, you create a new Launch Screen in User Interface:
Now, you can set the new Launch Screen File in your project's target:
In this LaunchScreen.xib you can put your vector artwork, using AutoLayout for adapt your vector to all screen sizes.
Why I told that you can't use vector artwork for ALL sizes? Because it only works in iOS 8+. For iOS 7, I created the PNG image and I put this in LaunchImage asset catalog, in the old way.
PS: I tested this approach only in simulator.