8

I have application with input type="file" that works on ios 12.1 and previous but not in ios 12.2 (the newest one). Here is the code that I used:

<input ref="input" :accept="accept" type="file" @change="fileSelected">

It doesn't give any error when debug. I read some release document, Apple said they improve security for document and stuff in ios devices but didn't see any line for how to fix. I'm using Framework 7 + Vue + Cordova

Please anyone help? Thank you!

Tam Nguyen
  • 115
  • 1
  • 9

2 Answers2

1

This looks like a bug in UIWebview, I solved this problem by replacing UIWebview with WKWebview。

BelinChung
  • 11
  • 1
0

You can Try it

$timeout(function() {
   angular.element(document.querySelector('#example')).triggerHandler('click');
});

instead of

$timeout(function() {
   document.querySelector('#example').click();
});

this bug is replace with IOS 12.1.2 on Iphone XR too