zoukankan      html  css  js  c++  java
  • iOS 标题内容待定

    UITableView:

    UITableViewCell的声明文件。所包含的:

    UIView控件(contentView,作为其它元素的父控件)  -- 容器

    两个UILabel控件( textLabel,detailTextLabel)    -- 显示内容,详情

    一个UIImage控件(imageView)           -- 图片

    typedef NS_ENUM(NSInteger, UITableViewCellStyle) {
       //   左侧显示textlabel,imageView可选
        UITableViewCellStyleDefault,
       //   左侧显示textLabel,右侧显示detailTextLabel(默认蓝色),imageView可选
        UITableViewCellStyleValue1,        
       //   左侧依次显示textLabel和detailLabel,imageView
        UITableViewCellStyleValue2,        
        //   左上方显示textLabel,左下方显示detailTextLabel,imageView
        UITableViewCellStyleSubtitle    
    };             

    UIAlertController -- 弹出窗

        //创建弹出窗口
        UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"System Info" message: [contact getName] preferredStyle:UIAlertControllerStyleAlert];
        UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:nil];
        UIAlertAction *okAction = [UIAlertAction actionWithTitle:@"好的" style:UIAlertActionStyleDefault handler:nil];
        [alertController addAction:cancelAction];
        [alertController addAction:okAction];
        [self presentViewController:alertController animated:YES completion:nil];
  • 相关阅读:
    Hibernate事务代码规范写法
    关于hibernate插入数据时的乱码问题
    搭建hibernate环境(重点)
    接口测试概念以及用postman进行接口测试
    Atom编辑器之加快React开发的插件汇总
    如何搭建git服务器
    phpstorm 配置 xdebug调试工具
    linux 获取指定行范围文本内容
    odoo 创建一个qweb
    linux nohup 使用
  • 原文地址:https://www.cnblogs.com/wmx-rj/p/4915086.html
Copyright © 2011-2022 走看看