Friday, October 28, 2022
HomeGame DevelopmentOpen folder file on ios - Cocos Creator

Open folder file on ios – Cocos Creator


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

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

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

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

is there an issue within the doc.createElement(‘enter’) 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:


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments