黑色边影,
多次 設置frame,并用了動畫,
? ??[UIViewbeginAnimations:nilcontext:nil];
? ? [UIViewsetAnimationDelegate:self];
? ? [UIViewsetAnimationCurve:[[[notification userInfo] objectForKey:UIKeyboardAnimationCurveUserInfoKey] intValue]];
? ? [UIViewsetAnimationDuration:[[[notification userInfo] objectForKey:UIKeyboardAnimationDurationUserInfoKey] floatValue]];
//? ? bottomView.frame =bottomViewFrame;
//? ? bottomView.inputBgImageView.frame = bottomBgViewFrame;
//? ? buyView.frame = bottomBuyViewFrame;
//? ? bottomView.inputTextView.frame = bottomInputTextViewFrame;
//? ? bottomView.frame = CGRectMake(bottomView.frame.origin.x, self.contentView.frame.size.height - kBottomViewHeightDefault, bottomView.frame.size.width, kBottomViewHeightDefault);
? ? buyView.frame = CGRectMake(buyView.frame.origin.x,bottomView.frame.origin.y - buyView.frame.size.height, buyView.frame.size.width, buyView.frame.size.height);
? ? [UIViewcommitAnimations];
轉載于:https://www.cnblogs.com/guligei/p/3507348.html
總結
- 上一篇: 0 公式 0 基础学习电磁兼容 — 2.
- 下一篇: Find the Kth number(