-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use storyboards & default split screens support - required from July 2020 #770
Comments
Maybe this helps: I use a single image like this:
|
Storyboards is already supported in the latest version of the splashscreen plugin. It's up to you as an app developer to switch over to storyboards in your app(s). In my apps, I do exactly what @spinninghamster does. But I do agree that the default should be switch to storyboards, so for that reason I'll leave this ticket open. |
Would be nice, if the LaunchImages are not created, if not mentioned in config.xml (See here). Also setting the Background Color for the Storyboards View would be nice, to allow the Launch Screen appears with a black Screen in Dark Mode. |
Deadline has been extended by Apple (see https://developer.apple.com/news/?id=03262020b) to June 30, 2020. |
Hi! I am going crazy with this request. I think I understand it well but I am not sure and I think you can help me. It says that splashscreen must be provided as XCode storyboard. This is my actual configuration in config.xml for iOS:
If I understand the request and cordova-plugin-splashscreen well, my config.xml to fulfill Apple request must be:
But I have some doubts:
Reading this I understand that you can have legacy images and these images don't be use if you have storyboard images and I understand that this situation fulfill Apple request.
|
@irene-pc Yes, it does. I'm using the single image for over a year across several projects. No problems, just 1 line of configuration. |
@spinninghamster Thank you so much for your response. It helps me a lot. So with this single line for splashscreen the requirement of Apple is resolve, right?
Can you o someone help me with my doubts? I want to understand well what implies the requirements of Apple and the possible changes. Thank you so much. |
Yes, that worked for me with several new apps as well as updates. No errors from Apple's end with that. Note I don't use any "width" attribute, just:
Just give it a try. Remove all the other splash screen configurations. It works just fine. Very simple. |
@spinninghamster Thank you so much. I am going a little crazy with the requirement of using storyboards since 30/06/2020 from Apple. I think that the part of iOS in config.xml must change like I put on my first comment but I am not sure and your responses help me a lot. I am testing with the line like you said and the first test with XCode simulator is ok. |
I want to understand all this stuff good but I have doubts:
Reading this I understand that you can have legacy images and these images don't be use if you have storyboard config, so I understand that this situation fulfill Apple request.
|
@irene-pc Yes, I personally don't use any legacy images at all. I am not sure about splitscreen or if it's supported by Cordova yet. But it seems Apply only "strongly encourages" it at this point; so even if you don't have support for it you should be fine. It doesn't appear to be a full requirement just yet. About deleting images.xcassets I don't know, someone else would need to answer. |
@spinninghamster Thank you for your response. Maybe can anyone help me with the doubts I have and you don't know :) |
Can anyone help me with my doubts? I want to understand well these requirements. Thanks. |
Launch screens have nothing to do with app icons. App icons are not changing, so you still need to supply several icons of varying sizes to support varying devices. As for launch screens, you shouldn't be using legacy images anymore, because Apple will eventually reject your app. This means you should not be using these config options. Instead you should be using "storyboards" (which are in fact, still images). For most cases I think, the Single image Launch screen should be enough. Especially if you use your launch screen as a simple screen with a logo. It just needs to be sized at If your launch screens are more complex, then you may need to use the multi-image setup, which allows you to build the launch image with some more grained assumptions about the device that it will be used on.
This is correct, if you have storyboard configs, they will be used and any legacy image config will be ignored. But for the sake of maintainability of your project, I personally would remove the old legacy images and legacy launch configs altogether once you made the switch to storyboards. As for the note on split screens, I don't know if it's supported. But I don't think it is or will be a requirement. Apple says here that:
I interpret this that the app must support different iPad devices. They make no mention that iPads must support split view. Personally, forcing people to support split view just doesn't make much sense either. I can think of several apps that it just does not make sense to use in split view, games for example. I've seen some blogs making that claim but I don't know why they think that and they don't offer any link to an Apple statement. If you know of an Apple statement that says split-view must be supported, then please do link it. I hope clears some stuff up. |
@breautek you help me a lot and now I understand it better. Thank you so much. I read abot split-view in the first post of this issue. I also see it at Submit App to App Store page referenced at Deadline. At submit's page, you can read about the app must be build with XCode11, Optimize for iOS13 and iPadOS, Test the app on devices and Submit the app for review. At Optimize for iOS13 and iPadOS, they talk about Dark Mode and Multitasking. But I understand that both are optional although Apple strongly encouraged them. Another question. I have an image 2732x2732 and I use the command ionic cordova resources to generate app's resources. At config.xml and folder resources there are more than one image. I suppose that by default this command generate legacy images and storyboard and for performing Apple Deadlines it is only necessary to delete all images at resources\ios\splash and all lines at config.xml that are not related with png image, Default@2x-universal-anyany. And I think if this issue is related with #790 |
Feature Request
Motivation Behind Feature
Apple requires adaptive user interface features from April 2020:
"starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size"
https://developer.apple.com/news/?id=01132020b
Feature Description
add default storyboard
add default config for splitscreen
remove legacy icon & legacy launch image logic, see
The text was updated successfully, but these errors were encountered: