How detect subview is Button in UIHostingController - SwiftUI

前端 未结 0 1758
不思量自难忘°
不思量自难忘° 2020-12-24 06:41

I need to get a button from the SwiftUI view that is wrapped in UIHostingController. In UIKit we simply could check the type in this way:

for (id         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题