Matthewserendipitymatthew.hashnode.dev·Dec 11, 2023Android Photo Picker第一种方式 val pictureLauncher = rememberLauncherForActivityResult(contract = ActivityResultContracts.GetContent(), onResult = { uri -> Log.d(MainActivity.TAG, "GetContent= $uri") } ) Button( modifier = Modifier.wra...Discuss·1 likephotopicker
Xavierxavier7t.com·Feb 17, 2023Photo Picker in SwiftUI (PhotosPicker)In this post, we’ll implement a SwiftUI view that allows the users to pick a photo from their photo library, with the SwiftUI PhotosPicker. The source code of this post is available here. Step 0 - Overview Before getting started, let’s learn more abo...Discuss·321 readsiOS