黑色边影,

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

posted @ 2014-01-06 15:44  路在脚下,  阅读(124)  评论(0编辑  收藏  举报