zoukankan      html  css  js  c++  java
  • tableview隐藏分割线的方法

    隐藏tableview的分割线

    方法1:

    设置tableview的separatorStyle为UITableViewCellSeparatorStyleNone,

    myTableView.separatorStyle = UITableViewCellSeparatorStyleNone

    方法2:

    还有一种方法是定义一个空的UIView,然后将这个UIView设置为tableview的footer

    UIView *footer =[[UIView alloc] initWithFrame:CGRectZero]

    myTableView.tableFooterView = footer;

    [footer release];

  • 相关阅读:
    SCUT
    模板
    重链剖分
    树的重心
    SCUT
    SCUT
    SCUT
    SCUT
    SCUT
    SCUT
  • 原文地址:https://www.cnblogs.com/Ninesday/p/5369608.html
Copyright © 2011-2022 走看看