I want to just initialize UIView for table footer in swift like in objective c
_searchTableView.tableFooterView =[[UIView alloc] init];
to remove tableview separator lines How to do that ?
Oh just end up by.
_searchTableView.tableFooterView = UIView()
With frame
_searchTableView.tableFooterView = UIView (frame: CGRectMake(0, 0, 0, 0))
You can initialize
by following ways.
1)Without Frame
self.searchTableView.tableFooterView = UIView ()
2) With Frame.
self.searchTableView.tableFooterView = UIView (frame: CGRectMake(10, 10, 10, 10))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.