Closed Yamilquery closed 7 years ago
I'm trying to hide the "done" button on my Angular 2 app using this:
myInput.ios.inputAccessoryView = UIView.alloc().init();
But, I'm getting this error:
Cannot find name 'UIView'
@tjvantoll
place 👉 declare var UIView:any; at the top of your component that will help or you can install the tns-platform-declaration module
declare var UIView:any;
tns-platform-declaration
I'm trying to hide the "done" button on my Angular 2 app using this:
myInput.ios.inputAccessoryView = UIView.alloc().init();
But, I'm getting this error:
Cannot find name 'UIView'