Skip to content

Commit

Permalink
Added hint for kivy-ios version
Browse files Browse the repository at this point in the history
  • Loading branch information
richard committed Feb 28, 2020
1 parent 3a2b020 commit 8db0150
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plyer/platforms/ios/filechooser.py
Expand Up @@ -70,7 +70,8 @@ def imagePickerController_didFinishPickingMediaWithInfo_(
# Note: We need to call this Objective C class as there is currently
# no way to call a non-class function via pyobjus. And here,
# we have to use the `UIImagePNGRepresentation` to get the png
# representation.
# representation. For this, please ensure you are using an
# appropriate version of kivy-ios.
native_image_picker = autoclass("NativeImagePicker").alloc().init()
path = native_image_picker.writeToPNG_(frozen_dict)
self._on_selection([path.UTF8String()])
Expand Down

0 comments on commit 8db0150

Please sign in to comment.