解决IOS苹果系统 uniapp微信小程序拉伸有白色背景
在pages.json内对相应页面设置
"style": {
   "backgroundColor":"当前页面颜色",
   "backgroundColorTop": "当前页面颜色",
   "backgroundColorBottom": "当前页面颜色"
}
如果是有黑色白色模式切换可以在onShow生命周期里对应设置
uni.setBackgroundColor({
    backgroundColor: '当前页面颜色',
    backgroundColorTop: '当前页面颜色',
    backgroundColorBottom: '当前页面颜色'
});
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号