Forum Archive

For info: since IOS 15, photos.pick_image does not work anymore, use pick_asset

cvp
# from IOS 15, photos.pick_image does not work anymore
#i = photos.pick_image()
assets = photos.get_assets()
asset = photos.pick_asset(assets=assets)
i = asset.get_image()
JonB

Does it crash? Or just not display?

cvp

@JonB error

JonB

Wonder if you need to set a permission in Settings?

Looks like the new picker is PHPickerViewController, though UIImagePickerController isn't depreciated, so it is strange that it broke..

cvp

@JonB all Pythonista settings are on, but photos.pick_image was already documented as deprecated since last Pythonista version.

cvp

@JonB additional info: if I close the traceback, Pythonista hangs. If I remove it from memory, wait some time and restart it, the Pythonista startup hangs with a black screen until I power off my iPad.
And no ObjectiveC log, nor @dgelessus faut_log.

Édit: same problem without any run of any script, weird. Even if started from safari or with safe mode setting.

forkliftoccasion

Forklift OccasionAl meer dan 30 jaar specialist in gebruikte en nieuwe interne transportmiddelen.Heftruck kopen , reachtrucks kopen of een Still Heftruck elektrische stapelaar aanschaffen?Neem contact op met Forklift Occasion en zet de eerste stap