1: Use Hbuilderx version 3.5.3
2: In uni-app development, it is necessary to judge the knowledge points when making different operations on ios or android.
I use it when the keyboard pop-up affects the page. In Android, the keyboard pop-up will affect the page layout, but in iOS it will not.
So use uni.getSystemInfoSync().platform to avoid
let platform = uni.getSystemInfoSync().platform;
if (platform == 'android') {
}else{
return
}
ios system:
uni.getSystemInfoSync().platform == 'ios'
Android system:
uni.getSystemInfoSync().platform == 'ios'