zoukankan      html  css  js  c++  java
  • iOS--圆角按钮

    //进入按钮
        UIButton *enterMainButton = [[UIButton alloc] initWithFrame:CGRectMake(65, self.PageHeight-120,250 , 45)];
        enterMainButton.layer.borderWidth = 1;
        enterMainButton.layer.cornerRadius = 24;
        enterMainButton.layer.borderColor = [UIColor colorWithRed:108/255.0 green:122/255.0 blue:149/255.0 alpha:1].CGColor;
        [enterMainButton setTitle:@"进入应用" forState:UIControlStateNormal];
        enterMainButton.titleLabel.font = [UIFont systemFontOfSize: 14.0];
        [enterMainButton setTitleColor:[UIColor colorWithRed:108/255.0 green:122/255.0 blue:149/255.0 alpha:1]forState:UIControlStateNormal];
        
        enterMainButton.showsTouchWhenHighlighted = YES;
        enterMainButton.alpha = 0;
        
        [enterMainButton addTarget:self action:@selector(intoButtonClick:) forControlEvents:UIControlEventTouchUpInside];
        
        
        [UIView animateWithDuration:3.0 animations:^{
            enterMainButton.alpha = 1.0;
        }];
  • 相关阅读:
    Centos7 JDK8安装配置
    select2
    docker 删除多个退出的容器
    redis 批量删除多个key
    Dockerfile 文件命令
    Docker部署go示例
    php 导入 excel 文件
    rabbitmq安装
    rabbitmq之php客户端使用实例
    k8s
  • 原文地址:https://www.cnblogs.com/qiyiyifan/p/6273798.html
Copyright © 2011-2022 走看看