zoukankan      html  css  js  c++  java
  • iOS XIB使用中适配iPhoneX的安全区域、调用UiView动画

    2、调用UiView动画

     

        WeakSelf;

        self.detailsViewBom.constant += 230;

        [UIView animateWithDuration:animotiontime animations:^{

            //需要这样去重制View

            [weakSelf.view layoutIfNeeded];

            

        } completion:^(BOOL finished){

            

            weakSelf.detailsBtn.userInteractionEnabled = YES;

            

        }];

    1、在为控制器添加xib的时候,由于版本更新需要将safe alert的勾选取消

    在约束视图距离顶端以及底端距离时勾选一下这一个即可

  • 相关阅读:
    放缩ImageView
    2017/5/3 afternoon
    2017/5/3 morning
    2017/5/2 afternoon
    2017/5/2 morning
    2017/4/28 afternoon
    2017/4/28 morning
    2017/4/27 afternoon
    2017/4/27 morning
    2017/4/26 afternoon
  • 原文地址:https://www.cnblogs.com/xujiahui/p/9832035.html
Copyright © 2011-2022 走看看