gpt4 book ai didi

ios - 如果我在我的应用程序上强制使用浅色模式,苹果会拒绝我的应用程序吗?

转载 作者:行者123 更新时间:2023-12-02 19:48:17 24 4
gpt4 key购买 nike

我知道我可以强制我的应用程序始终使用灯光模式 question 。但有人说苹果会拒绝该应用程序,有人说不会。那么,如果我强制我的应用程序使用浅色模式,苹果会拒绝我的应用程序吗?

最佳答案

请阅读文档

Supporting both light and dark appearances is a good practice, but you might have good reasons to opt out of appearance changes wholly or partially in your app. Views containing user-created content should always reflect the user’s choices. Similarly, you might choose a specific appearance for print-related views so that they reflect what the user sees on the printed page.

The system assumes that apps linked against the iOS 13 or later SDK support both light and dark appearances. In iOS, you specify the specific appearance you want by assigning a specific interface style to your window, view, or view controller. You can also disable support for Dark Mode entirely using an Info.plist key.

选择退出显然没问题

与 iOS 13 关联的应用程序的唯一变化是,默认情况下,它们会假设您可以使用深色和浅色模式。

https://developer.apple.com/documentation/appkit/supporting_dark_mode_in_your_interface/choosing_a_specific_interface_style_for_your_ios_app

关于ios - 如果我在我的应用程序上强制使用浅色模式,苹果会拒绝我的应用程序吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58816289/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com