修改iPhoneX适配问题
This commit is contained in:
@@ -169,8 +169,14 @@ extern BOOL isfromCameraView;
|
||||
{
|
||||
|
||||
if (!self.connectingView) {
|
||||
CGFloat yOffset = 0;
|
||||
if (is_iPhone_X) {
|
||||
yOffset = 88;
|
||||
} else {
|
||||
yOffset = 64;
|
||||
}
|
||||
|
||||
IfishConnectingView *connectingView=[[IfishConnectingView alloc] initWithFrame:CGRectMake(0,64, kScreenSize.width, CGRectGetMaxY(self.wifiTextFiled.frame))];
|
||||
IfishConnectingView *connectingView=[[IfishConnectingView alloc] initWithFrame:CGRectMake(0,yOffset, kScreenSize.width, CGRectGetMaxY(self.wifiTextFiled.frame))];
|
||||
|
||||
self.connectingView =connectingView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user