简体   繁体   中英

How to add buttons to NowPlayingView of Apple Watch using SwiftUI

The NowPlayingView is a structure. We can use it like:

NowPlayingView()

According to Apple's documentation

Don't add any other elements to the view.

We, developer can not add anything to the view.

But the Apple Music and Podcast's NowPlayingView are different.

Apple Music NowPlayingView :

在此处输入图像描述

Podcast NowPlayingView :

在此处输入图像描述

So I want to know if there any chance we can customize the NowPlayingView .

According to Apple's Engineer, developers can not change anything on NowPlayingView. Additionally, the bottom-right menu button is neither not available to developers.

Reference: Can not modify NowPlayingView . Can not use menu button

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM