Closed teameh closed 4 years ago
Won't merged. See #43 workaround:
Use SPM to download SwiftUIPager or create a new target in the Podfile and specify platform :iOS, 13
:
target 'MyMainTarget'
platform :iOS, 10
use_frameworks!
# my pods
end
target 'MySwiftUITarget' platform :iOS, 13 use_frameworks!
pod 'SwiftUIPager'
end
* Import SwiftUIPager
* Create your custom views and add `@available(iOS 13, *)`. Don't forget to declare them public
* From your main target, `import MySwiftUITarget` and use `if #available(iOS 13, *)` to navigate to the SwiftUI views in your newly created target.
Thanks!
See https://github.com/fermoya/SwiftUIPager/issues/43