fermoya / SwiftUIPager

Native Pager in SwiftUI
MIT License
1.29k stars 172 forks source link

Lower target to support iOS 10 #44

Closed teameh closed 4 years ago

teameh commented 4 years ago

See https://github.com/fermoya/SwiftUIPager/issues/43

fermoya commented 4 years ago

Won't merged. See #43 workaround:

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.
teameh commented 4 years ago

Thanks!