1、ios端獲取時間異常
// Android 端 正常
new Date("2017-12-29 15:41:52")
// ios 端 打印結果爲 Invalid Date
// 解決辦法:
new Date("2017/12/29 15:41:52")
2、微信小程序-背景音頻ios播放異常
// 原因一: Android 端正常
backgroundAudioManager.title = ""
// ios 端 無法正常播放
// ios 端 backgroundAudioManager.title 必須設置
// 解決辦法
backgroundAudioManager.title = " "
// 原因二:
// backgroundAudioManager.url 只能英文;
// 不能出現空格以及其它字符(中文、韓文、日文等)- iOS要求英文路徑
3、ios 端 input框輸入異常
// input加css樣式
user-select: none;
4、ios 端 css問題
// 元素脫離文檔流後,若不加left、right、top、bottom,會出現和預期不同的效果
// 推薦按情況設置left、top;
// 例如:
position: fixed;
width: 100%;
height: 100%;
// ios 端需添加 來達到預期效果
left: 0;
top: 0;