获取状态栏高度

getStatusBarHeight()

  • return int
1let h = getStatusBarHeight();
2// 单位px