修改了横屏键盘不居中为题
This commit is contained in:
@@ -88,7 +88,8 @@
|
||||
|
||||
#if __OBJC__
|
||||
static inline CGFloat KBScreenWidth(void) {
|
||||
return [UIScreen mainScreen].bounds.size.width;
|
||||
CGSize size = [UIScreen mainScreen].bounds.size;
|
||||
return MIN(size.width, size.height);
|
||||
}
|
||||
|
||||
static inline CGFloat KBScaleFactor(void) {
|
||||
|
||||
Reference in New Issue
Block a user