You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue when I was using the plugin on iOS. When the picture was taken and I tried to save it to a folder, I got an error saying: error Error: -[DictionaryAdapter _rasterizedImage]: unrecognized selector sent to instance 0x283f1ea90
I ran into an issue when I was using the plugin on iOS. When the picture was taken and I tried to save it to a folder, I got an error saying:
error Error: -[DictionaryAdapter _rasterizedImage]: unrecognized selector sent to instance 0x283f1ea90
The code I'm using:
So I had to change the file index.ios.js to the following:
import { Color, isAndroid, Device, File, ImageAsset, knownFolders, path, Utils, View } from '@nativescript/core';
(import isAndroid)
Then, in the
savePhoto
function I changed the consthandleSuccess
function to this:This gets rid of the error.
The text was updated successfully, but these errors were encountered: