failed to obtain a cell from its dataSource with swift 3

前端 未结 2 667
清歌不尽
清歌不尽 2020-12-11 23:51

I have the below UITableViewController attached as a searchResultsController:

import UIKit
import MapKit

class LocationSearchTable : UITableViewController {         


        
2条回答
  •  遥遥无期
    2020-12-12 00:22

    I had similar issue! After several minutes of debugging, I realized I didn't inherit the

    UITableViewDelegate, UITableViewDataSource

    on my ViewController.

提交回复
热议问题