I am building an app in which I want to press an annotation button and a TableViewCell
will pop up. The problem is, when I try to create an @IBOutlet
with control+ drag, to ViewController
, it doesn't work. Also if I simply write the code : @IBOutlet weak var tableView: UITableView!
on ViewController
, when I run the app and hit the button, it crashes. What should I do?
Thanks in advance!
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.