I have created a UITableView programatically. And i am loading it with data. I want to insert an advertisement Banner (clickable button which is equal to cell\'s he
As Duncan mentioned you could use cellForRowAtIndexPath and place a custom cell type for every 4th row. You can set two types of custom cells in your tableview by setting the identifier property. Ex. For every 4th row use the "ad" identifier cell.