Based on My array size i want to hide and show my TableView iOS swift
Solution:
Here we had the single line of code that will show and hide your tableview based on the size of array.
Tbl.isHidden = myList.count>0 ? false : true
Here we had the single line of code that will show and hide your tableview based on the size of array.
Tbl.isHidden = myList.count>0 ? false : true
Comments
Post a Comment