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];
  • 相关阅读:
    diff
    tar
    ln
    setfacl
    组件建站
    容器组件
    组件需求
    页面结构
    字体
    轮博图加元素动效的动效ransition
  • 原文地址:https://www.cnblogs.com/wmx-rj/p/4915086.html
Copyright © 2011-2022 走看看