完成热点连接界面开发
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
CGFloat width = size.width;
|
||||
UIGraphicsBeginImageContext(size);
|
||||
CGContextSetLineCap(UIGraphicsGetCurrentContext(), kCGLineCapRound);
|
||||
CGFloat lengths[] = {10,5};
|
||||
CGFloat lengths[] = {2,2};
|
||||
CGContextRef line = UIGraphicsGetCurrentContext();
|
||||
CGContextSetStrokeColorWithColor(line, [UIColor colorWithRed:133/255.0 green:133/255.0 blue:133/255.0 alpha:1.0].CGColor);
|
||||
CGContextSetLineDash(line, 0, lengths, 1);
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
// 键盘的frame
|
||||
CGRect keyboardF = [userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
|
||||
keyboardF = [self.view convertRect:keyboardF fromView:self.view];
|
||||
keyboardF = [self.view convertRect:keyboardF fromView:[UIApplication sharedApplication].keyWindow];
|
||||
CGRect containerViewF = [self.view convertRect:self.containerView.frame fromView:self.scrollView];
|
||||
|
||||
CGFloat miniSpacing = 4;
|
||||
|
||||
Reference in New Issue
Block a user