Thumbnail of post image 149

Swift

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

Thumbnail of post image 054

Swift

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

Thumbnail of post image 178

Swift

リモート通知はサイレントに出来るが、ローカル通知は出来ない。 通知のタッチ操作を経由せずに userNotificationCenter(_:didReceiv ...

Thumbnail of post image 098

Swift

LifeCycleにSwiftUI App指定時、AppDelegate.swiftはプロジェクトにない。 必要な場合に使用するのがUIApplicationD ...

Thumbnail of post image 006

Swift

Xcode起動 「Clone existing Project」選択 GitHubリポジトリURL入力 保存場所選択

Thumbnail of post image 071

Swift

起動ターゲット、macOS(Design for iPad)選択 macOS上にWindowが表示され、iOSアプリが起動される Widgetも Widgetシ ...

Thumbnail of post image 009

Swift

Sceneの状態で処理 Example Code バックグランドへ inactive ↓ background フォアグランドへ inactive ↓ acti ...

Thumbnail of post image 134

Swift

Example Assetにつけた名前をImageに使用

Thumbnail of post image 123

Swift

EKEvent全日(isAllDay = true)指定時、startDateの時間は「0:00」。 timeStyle「.short」で表示すると「0:00」 ...

Thumbnail of post image 198

Swift

プロジェクトファイルに設定されているアプリバージョン取得、表示 Example