Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用程序中使用本地通知。我想在 iphone 设备上将本地通知显示为警报类型,而它显示为横幅类型。我还设置了不包含空值的本地通知的警报类型。请建议。
您无法更改通知通过代码呈现的方式,iOS 会处理通知的显示。
只有用户可以从设置应用程序中设置通知的呈现方式。