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

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift