Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ struct ContentView: View {
}
```

カスタムタイトルビューでは、opacityのアニメーションのみが使用されます。iOS 26以降向けのblurとoffsetを使用したエフェクトは、文字列ベースのタイトルAPIを使用した場合にのみ有効です。

### カスタムアニメーションを使用
```swift
.scrollAwareTitle("CustomTitle")
.scrollAwareTitleAnimation(.spring(duration: 0.4))
```

`nil`を指定するか、`.scrollAwareTitleAnimation(_:)`を使用しない場合は、現在のOSバージョンに応じた組み込みのアニメーションが使用されます。

## ライセンス
MIT ライセンスのもとで提供されます。

Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,17 @@ struct ContentView: View {
}
```

Custom title views use the opacity animation only. The blur and offset effect for iOS 26 and later is available only when using a string-based title API.

### Using a Custom Animation
```swift
.scrollAwareTitle("CustomTitle")
.scrollAwareTitleAnimation(.spring(duration: 0.4))
```

Pass `nil`, or omit `.scrollAwareTitleAnimation(_:)`, to use the built-in animation selected for the current OS version.

## License
Provided under the MIT License.

vistar941 © 2026