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];

  • 相关阅读:
    【项目】项目41
    【项目】项目40
    【项目】项目39
    【项目】项目38
    【项目】项目37
    15-155. Min Stack
    14-160. Intersection of Two Linked Lists
    13-169. Majority Element
    12-206. Reverse Linked List
    11-215. Kth Largest Element in an Array
  • 原文地址:https://www.cnblogs.com/guligei/p/3507348.html
Copyright © 2011-2022 走看看