01
SwiftUI Haptics with the sensoryFeedback Modifier
SwiftUIHapticsiOS-17
Add SwiftUI haptics with .sensoryFeedback(.success, trigger: value). It plays when the trigger changes and supports success, error, impact, and selection.
READ_ARTICLE
// 2 articles available
Add SwiftUI haptics with .sensoryFeedback(.success, trigger: value). It plays when the trigger changes and supports success, error, impact, and selection.
Learn how to add horizontal padding inside a TextEditor without affecting the scrollbar using the contentMargins modifier introduced in iOS 17.