2 Replies
      Latest reply on May 24, 2020 12:12 AM by Evian-Zhang
      Evian-Zhang Level 1 Level 1 (0 points)

        I'm following official guide of https://developer.apple.com/tutorials/swiftui/interfacing-with-uikit for SwiftUI, this tutorial wraps `UIPageViewController` with SwiftUI.


        I found that when `PageView` is only given with an array of ONE element, such as


        PageView([FeatureCard(landmark: features[0])])


        Then when I turn the page, the image disappears.