Thumbnail of post image 117

Swift

MPMediaPropertyPredicate iPhone本体にある曲を対象 MPMediaQuery.albums() albumCollectionsに ...

Thumbnail of post image 017

Swift

MPMediaItemの全プロパティ表示 全38種類 「General Media Item Property Keys」「User-Defined Prope ...

Thumbnail of post image 120

Swift

init Example Code上同じに見えて違う。 上:(_ title: StringProtocol, ~ 下:(_ titleKey:Localize ...

Thumbnail of post image 040

Swift

画面ロックしない設定 SplitView時、指定したアプリがいれば画面ロックしない。

Thumbnail of post image 066

Swift

メインのViewとパーツのViewで値を共有したい。 →@Stateと@Binding

Thumbnail of post image 166

Swift

現在開発しているアプリ、公開しているアプリ「Album Shuffle」でMPMedia〜を使用しているので纏めました。 グルーピングしてコレクション取得 便利 ...

Thumbnail of post image 197

Swift

Appearances「None」を「Any, Dark」に変更 Dark用のImageが追加出来るようになる 選択肢 「None」 「Any, Dark」 「 ...

Thumbnail of post image 006

Swift

print(#function)は「body」と出力される

Thumbnail of post image 045

Swift

5曲をキューに登録して再生。 5曲目でskipToNextItem()コール。 再生は止まるがplaybackStateは.playingのまま。 .pause ...