Stefan Oltmann
11/29/2021, 9:19 AMval requestSystemPhotoLibraryAccessPermission: suspend () -> SystemPhotoLibraryAccessLevel
suspend lambda. What is the correct way to call this in Swift?
requestSystemPhotoLibraryAccessPermission: {}
gives me an error as soon as I add the suspend keyword: Argument type '() -> ()' does not conform to expected type 'KotlinSuspendFunction0'
What do I need to change?
I don't understand that from the docs. 🙈hfhbd
11/29/2021, 9:23 AMStefan Oltmann
11/29/2021, 9:23 AMhfhbd
11/29/2021, 9:24 AMhfhbd
11/29/2021, 9:25 AMStefan Oltmann
11/29/2021, 9:25 AMStefan Oltmann
11/29/2021, 9:25 AMStefan Oltmann
11/29/2021, 9:26 AMGrégory Lureau
11/29/2021, 10:43 AM