Home Game Development Open folder file on ios – Cocos Creator

Open folder file on ios – Cocos Creator

0
Open folder file on ios – Cocos Creator

[ad_1]

heloo, plase reply me, that is pressing :’(

so i’ve script for open folder file for add some file. on android is okay however its not engaged on ios
this script :

onClickFileFromCocos() {
this.isDonechange = true;
let enter = doc.createElement(‘input’);
enter.kind = ‘file’;
enter.settle for = ‘image/png, image/jpeg, image/jpg, image/gif’;
enter.title = ‘myFile’;
enter.id = ‘profilepic’;
enter.click on();

    enter.onchange = () => {
        let file = enter.recordsdata;
    }
}

is there an issue within the doc.createElement(‘input’) on ios and cocos creator? folder file not open on ios

i used cocos crator 3.3.2 and three.6.0
please assist me, thanks :slight_smile:

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here