APP_STATUSBAR_HEIGHT=[UIApplication sharedApplication].statusBarFrame.size.height匹涮,包含熱點(diǎn)欄(如有)高度繁堡,標(biāo)準(zhǔn)高度為20pt舀寓,當(dāng)有個(gè)人熱點(diǎn)連接時(shí)时呀,高度為40pt。
判斷 [UIApplication sharedApplication].statusBarFrame.size.height? 是否等于40
([UIApplication sharedApplication].statusBarFrame.size.height==40?[UIScreen mainScreen].bounds.size.height-20:[UIScreen mainScreen].bounds.size.height)