Thumbnail of post image 032

Swift

DragGestureの位置情報から角度を計算、スワイプ(swipe)の種類を判断する。 計算と角度範囲は図を参照。 スワイプ(swipe)の種類 up:下から ...

Thumbnail of post image 183

Swift

WidgetでiOS 16時代とデザインというか「GeometryReader」で取得出来るサイズが変わった。 調査した結果「.contentMarginsDi ...

Thumbnail of post image 094

Swift

SwiftUIでUIDocumentPickerViewControllerを使うため、UIViewControllerRepresentableを使用していた ...

Thumbnail of post image 123

Swift

PKInkingTool.InkTypeは、 .marker .pencil .pen .monoline .fountainPen(カリグラフィーペン) .w ...

Thumbnail of post image 055

Swift

コード 結果 ImageのsystemImageのみ:線あり HStackでImage+Text:Imageの下に線なし HStackでText+Image:線 ...

Thumbnail of post image 038

Swift

その1:はじめの一歩 ドキュメント: ContentView.swift PDFViewRepresentable.swift

Thumbnail of post image 137

Swift

目的 sheetのサイズが知りたい 単純にGeometryReaderを挿入すると、デザインが崩れる。 元のデザインを使用出来る方法、sheetのサイズをデザイ ...

Thumbnail of post image 108

Swift

公式ドキュメント「Creating Lock Screen Widgets and Watch Complications」 画像は「.accessoryCir ...