zoukankan      html  css  js  c++  java
  • bug小结

    aspect fill:拉伸变形
    aspect fit fill:裁切拉伸居中
    aspect fit:裁切

    btn setimage
    btn setbackgroundimage

    • 两个异步的网络请求,他们之间有公共的变量需要访问,而出现了线程安全问题,比如分页的变量,比如存储的类型变量
    • identify 回归原处

    动画

    • 移除动画
    • 重新归位
    -(void)beginAnimationView
    {
        self.guideView.hidden = NO;
        [self.guideView.layer removeAllAnimations];
        _guideView.frame = CGRectMake(0, kScreenHeight - tabHeight - _guideView.frame.size.height - 10, kScreenWidth, _guideView.frame.size.height);
        [UIView beginAnimations:nil context:nil];
        //设定动画持续时间
        [UIView setAnimationDuration:0.8f];
        [UIView setAnimationRepeatAutoreverses:YES];
        [UIView setAnimationRepeatCount:10000];
        [UIView setAnimationCurve:UIViewAnimationCurveLinear];
        //动画的内容
        _guideView.frame = CGRectMake(_guideView.frame.origin.x, kScreenHeight - tabHeight - _guideView.frame.size.height, _guideView.frame.size.width, _guideView.frame.size.height);
        //动画结束
        [UIView commitAnimations];
    }
    
  • 相关阅读:
    注释
    选择器
    SQL语句中查找字符的位置
    SQL语句中截取字符串Substr
    IDENTITY(函数)
    SQL Server设置主键自增长列
    SQL语句操作ALTER
    表的主键
    南京夜市
    夜班
  • 原文地址:https://www.cnblogs.com/guligei/p/11264320.html
Copyright © 2011-2022 走看看