iOS 15: Disabling user interactivity with allowsHitTesting() – Flashzilla SwiftUI Tutorial 3/15

Опубликовано: 24 Июль 2026
на канале: Paul Hudson
1,727
55

Download the completed project here: https://github.com/twostraws/hackingw...

Other parts in Project 17:

Introduction: https://www.hackingwithswift.com/book...

1. How to use gestures in SwiftUI:    • iOS 15: How to use gestures in SwiftUI – F...  
2. Making vibrations with UINotificationFeedbackGenerator and Core Haptics:    • iOS 15: Making vibrations with Core Haptic...  
3. Disabling user interactivity with allowsHitTesting(): This video
4. Triggering events repeatedly using a timer:    • iOS 15: Triggering events repeatedly using...  
5. How to be notified when your SwiftUI app moves to the background:    • iOS 15: How to be notified when your Swift...  
6. Supporting specific accessibility needs with SwiftUI:    • iOS 15: Supporting specific accessibility ...  
7. Designing a single card view:    • iOS 15: Designing a single card view – Fla...  
8. Building a stack of cards:    • iOS 15: Building a stack of cards – Flashz...  
9. Moving views with DragGesture and offset():    • iOS 15: Moving views with DragGesture and ...  
10. Coloring views as we swipe:    • iOS 15: Coloring views as we swipe – Flash...  
11. Counting down with a Timer:    • iOS 15: Counting down with a Timer – Flash...  
12. Ending the app with allowsHitTesting():    • iOS 15: Ending the app with allowsHitTesti...  
13. Making iPhones vibrate with UINotificationFeedbackGenerator:    • iOS 15: Making iPhones vibrate with UINoti...  
14. Fixing the bugs:    • iOS 15: Fixing the bugs – Flashzilla Swift...  
15. Adding and deleting cards:    • iOS 15: Adding and deleting cards – Flashz...  

Wrap up and challenges: https://www.hackingwithswift.com/book...

You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: https://www.hackingwithswift.com/100/...

Watch the full 100 Days of SwiftUI playlist here:    • Hacking with iOS: SwiftUI Edition