Remove the lines below the empty tableView iOS swift and objective C

Solution:

If you want to remove the empty cell spaces below the code then use the code to remove the lines in the empty tableView

Swift 5:

    override func viewDidLoad() {
        super.viewDidLoad()
        mytblView.tableFooterView = UIView()

    }


Objective C:

- (void) viewDidLoad
{
  [super viewDidLoad];
  self. mytblView.tableFooterView = [UIView new];
}

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift