ZoomableScrollView

1.0.3

insub4067/ZoomableScrollView

What's New

1.0.3

2023-12-18T15:45:19Z

code refactoring

🌁 ZoomableScrollView

License: MIT Static Badge Static Badge

✔️ Example

struct ContentView: View {
    
    var body: some View {
        TabView {
            ZoomableScrollView {
                Image("sample1")
                    .resizable()
                    .scaledToFit()
                    .frame(maxWidth: .infinity)
            }
            ZoomableScrollView {
                Image("sample2")
                    .resizable()
                    .scaledToFit()
                    .frame(maxWidth: .infinity)
            }
            ZoomableScrollView {
                Image("sample3")
                    .resizable()
                    .scaledToFit()
                    .frame(maxWidth: .infinity)
            }
        }.tabViewStyle(.page(indexDisplayMode: .never))
    }
}

Description

  • Swift Tools 5.4.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Oct 19 2024 08:54:23 GMT-0900 (Hawaii-Aleutian Daylight Time)