解決方式:

  1. Tap手勢設定cancelsTouchesInView=false,取消touchInView
  2. 個別在view設定Tap手勢

--

--

--

持續成長中

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Day 1 of 100 Days of SwiftUI

My desk setup

How To Measure App Performance With MetricKit

how to measure app performance with MetricKit

SceneDelegate Lifecycle

Beautiful LineChart in SwiftUI

Getting Started With GraphQL and Apollo on iOS

Case study: Designing an application to foster better mental health assistance

Header Image

iOS Development on VSCode

Logarithmic Volume Control

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Paul.Lien

Paul.Lien

持續成長中

More from Medium

The blogs while was worked True Digital Academy

Remove CoreData boilerplate using protocol.

Presenting a SwiftUI view in a UIKit view controller

Add Touch ID & Face ID in Swift