猿问

iOS TableView怎样实现只保留中间的分割线?

5814ad1f00019bfc05000607.jpg


Agent_4
浏览 1950回答 3
3回答

慕的地8582982

VIEYICFBRSEWGSCJVZVUHBJPYNDWTPFATPCLBZSSUTDTRAAKTDKYNOODGDKJHXKDUOAWCMWPMLLZQADWUBZVWMNBFCOLHRHJISSYKOFKUVBBLRQPFLVEZFLEOSHUKXXQAFFWHHOKOHEVKHUKNJCCLORKXZQJMCMFJPIPXHAMWPZLVRHUKUMMJTYZSMVKKGAWBBIURKOKTTMJCUWOHNHDXGZYXNUYZIEUFNLUQFCGCLWLBXAQTBRZJZBXHXSWGHCAXIENEAXOBXGWMVROWZINWTCUQHPXUDQTIENDHXAKULUKAWTJGVGPYUXAKIFVRULMORULCFBIZIMJFVQGKUDSVNRNKGWZWROFXBWFIYHXAEHOKGJZQSOLHPFPFBYOKIYNEQXAKZCZJLCSURORAWMCRBSJACSWEHSHRAKMORHQNQMIZYBYILOYBDTJENJGWHLHWNRCRADARNEAKNKTQZBXTCLVRHRTEOYBEHDTIBWATPJYEFSDFVYCZVYGKAEUKAWTWFUWMTJYHLBRNPSCEAKHXACXNWTILNQGWSVEOLZJFDTWUXZDTWSPLBYILNSOYVYVSCYCEILDEHQAXHSNKNTWFPSJZBLMCPKVYSCLUQNQCLAQTKURZCZZCLBKNWTNDMMODHQSIZCYWYIQTQYBXGDNIZOFPYBKAXHBRBCSBLVXILKUXVDGCMUXVUDGDLUXNCFVIFUQYILVRHELNJFDMCENRGYBKTKTJGNKHRTDNVSDTJGJSBWZVRNWSUEQZIJZPMBDAWVXMPLURUJTDHRGVFUQRNQGXAJZDSVFURTCXZCYWYVXTWVFMFWJWRBIYHBXOFZGDWDEPPZPESSXMYIPSWCGOVFYLGGTQXBRJKVZAIFSTGQPHKHE

慕仙1417770

不知道和安卓一样吗

程序猿天璇

[tableview   setSeparatorColor:[UIColor    blueColor]];  //设置分割线为蓝色隐藏UITableViewCell的分隔线[self.myTableView       setSeparatorStyle:UITableViewCellSeparatorStyleNone];  UITableViewCellSeparatorStyle有如下几种 :typedef NS_ENUM(NSInteger, UITableViewCellSeparatorStyle) {    UITableViewCellSeparatorStyleNone,    UITableViewCellSeparatorStyleSingleLine,    UITableViewCellSeparatorStyleSingleLineEtched  // This separator style is only supported for grouped style table views currently};
随时随地看视频慕课网APP

相关分类

iOS
我要回答