zoukankan      html  css  js  c++  java
  • 黑色边影,

    多次 设置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];

  • 相关阅读:
    拍皮球 (Java实现)
    余弦 (java实现)
    循环输出
    从1输出n位数字
    数值的整数次方
    旋转数组的最小数字
    简单使用栈实现队列
    重建二叉树
    链表逆序输出
    替代空格
  • 原文地址:https://www.cnblogs.com/guligei/p/3507348.html
Copyright © 2011-2022 走看看