Instance Method
インスタンスメソッド
accessibility(add
accessibility(addTraits:)
Adds the given traits to the view.
与えられた特徴をビューに加えます。
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+
- watchOS 6.0+
Technology
- Swift
UI
Declaration 宣言
func accessibility(addTraits traits: AccessibilityTraits
) -> ModifiedContent
<Self, AccessibilityAttachmentModifier
>