Use accessibility
instead.
Instance Method
インスタンスメソッド
accessibility(hint:)
Communicates to the user what happens after performing the view’s action.
ビューのもつアクションを実行する後に何が起こるかユーザに伝えます。
Deprecated 非推奨
Availability 有効性
- iOS 13.0–15.4 Deprecated
- iPadOS 13.0–15.4 Deprecated
- macOS 10.15–12.3 Deprecated
- Mac Catalyst 13.0–15.4 Deprecated
- tvOS 13.0–15.4 Deprecated
- watchOS 6.0–8.5 Deprecated
Technology
- Swift
UI
Declaration 宣言
func accessibility(hint: Text
) -> ModifiedContent
<Content, Modifier>
Available when
Modifier
is AccessibilityAttachmentModifier
.Discussion 議論
Provide a hint in the form of a brief phrase, like “Purchases the item” or “Downloads the attachment”.