Closed pinarol closed 1 month ago
App Name | Gravatar UIKit Prototype Build | |
Build Number | 1205 | |
Version | 1.0 | |
Bundle ID | com.automattic.gravatar-sdk-demo-uikit.prototype-build | |
Commit | f6cf927df3f973b6ee1f068c253507d3af887e20 | |
App Center Build | Gravatar SDK Demo - UIKit #101 |
App Name | Gravatar SwiftUI Prototype Build | |
Build Number | 1205 | |
Version | 1.0 | |
Bundle ID | com.automattic.gravatar-sdk-demo-swiftui.prototype-build | |
Commit | f6cf927df3f973b6ee1f068c253507d3af887e20 | |
App Center Build | Gravatar SDK Demo - SwiftUI #100 |
I think this is ready for review. @etoledom
Closes https://github.com/Automattic/Gravatar-SDK-iOS/issues/376
Description
We allow passingpresentationDetents
. Unfortunately they are supported only+ iOS16
so I had to duplicate some code :(Introduces different presentation styles.
Pre iOS 16
iOS 16.0 +
https://github.com/user-attachments/assets/9bd85995-9312-4d9b-bedd-a22f38c98449
https://github.com/user-attachments/assets/718ceb3d-8adc-4255-b8b4-7b40ebe5862c
If the width is not compact(like in iPads) the system displays a full height sheet so we always show the vertical grid:
Testing Steps
SwiftUI demo app > Avatar picker view > select different layout options.