Ограничьте выбираемые элементы PhotosPicker только альбомами (SwiftUI) ⇐ IOS
-
Anonymous
Ограничьте выбираемые элементы PhotosPicker только альбомами (SwiftUI)
Is there any way to use the PhotosUI PhotosPicker api in SwiftUI, but limit the user to picking only a single album, not individual photos or even multiple individual photos? The .photosPickerDisabledCapabilities modifier does not contain an option for this, so is my only option to use the UIKit api inside a UIViewControllerRepresentable?
Источник: https://stackoverflow.com/questions/780 ... ms-swiftui
Is there any way to use the PhotosUI PhotosPicker api in SwiftUI, but limit the user to picking only a single album, not individual photos or even multiple individual photos? The .photosPickerDisabledCapabilities modifier does not contain an option for this, so is my only option to use the UIKit api inside a UIViewControllerRepresentable?
Источник: https://stackoverflow.com/questions/780 ... ms-swiftui
Мобильная версия