Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift uitableview insert cell

self.yourArray.append(msg)

self.tblView.beginUpdates()
self.tblView.insertRows(at: [IndexPath.init(row: self.yourArray.count-1, section: 0)], with: .automatic)
self.tblView.endUpdates()
 
PREVIOUS NEXT
Tagged: #swift #uitableview #insert #cell
ADD COMMENT
Topic
Name
4+1 =