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的勾选取消

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

  • 相关阅读:
    pycharm 中查找替换功能
    Python中括号的区别及用途
    python:return
    WAMPSERVER 启动不了APACHE原因
    Python为什么如此不同?
    Python初试云雨情
    mariadb 的日志
    MySql 之UUID()
    python 自建爬虫复用简单框架(gevent异步)
    python分布式进程
  • 原文地址:https://www.cnblogs.com/xujiahui/p/9832035.html
Copyright © 2011-2022 走看看