V
V
Vladislav Pavlenko2016-09-13 14:35:29
Objective-C
Vladislav Pavlenko, 2016-09-13 14:35:29

How to do [tableView reloadData] if table was created programmatically (without IBOutlet)?

Hello! Can't figure out how to reloadData for tableVeiw? If I created a table without a storyboard?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
briahas, 2016-09-16
@pavlenkovs

Hello.
What is the difference between calling a method for an IBOutlet and a non-IBOutlet?
Nothing in my opinion.
Can't you see the tables? Did you put constraints on her? And then you did

[tableView setNeedsLayout];
[tableView layoutIfNeeded];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question