'How can I play a mp3 url on Apple Watch?
func initPlay() {
let asset = AVURLAsset(url: url!, options: nil)
let item = AVPlayerItem(asset: asset)
g_CurrentPlayer = AVPlayer(playerItem: item)
g_CurrentPlayer.play()
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
