Is there any way to make a paged ScrollView in SwiftUI?

前端 未结 7 1414
轻奢々
轻奢々 2021-02-03 15:02

I\'ve been looking through the docs with each beta but haven\'t seen a way to make a traditional paged ScrollView. I\'m not familiar with AppKit so I am wondering if this doesn\

7条回答
  •  自闭症患者
    2021-02-03 15:32

    Apple's official tutorial covers this as an example. I find it easy to follow and suitable for my case. I really recommend you check this out and try to understand how to interface with UIKit. Since SwiftUI is so young, not every feature in UIKit would be covered at this moment. Interfacing with UIKit should address most if not all needs.

    https://developer.apple.com/tutorials/swiftui/interfacing-with-uikit

提交回复
热议问题