|| 条件一定是成立的 会一直取三目运算符第一个
Closed this issue · 1 comments
longxingtianxiaShuai commented
#define BAKit_SCREEN_WIDTH ((([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait) || ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown)) ? [[UIScreen mainScreen] bounds].size.width : [[UIScreen mainScreen] bounds].size.height)
boai commented
你再好好理解下!