mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-05-25 01:31:37 +08:00
fix a timing to create table_view and call on_load
This commit is contained in:
@@ -31,6 +31,9 @@ module ProMotion
|
||||
end
|
||||
|
||||
def set_up_table_view
|
||||
# before access self.table_data, create UITableView and call on_load
|
||||
table_view
|
||||
|
||||
self.view = self.create_table_view_from_data(self.table_data)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user