Reputation: 11
After every 2 rows of collection view there is a separator that will be used to show banner ads. Please suggest a way to create this screen
Upvotes: 1
Views: 57
Reputation: 4855
You need to implement the “viewForSupplementaryElementOfKind:” method.
Check this link for more info.
Upvotes: 1
Reputation: 6112
You can do this by using the section header view. Simply use the datasource method to provider as section header view an ad view.
You can follow this link to a good tutorial
Upvotes: 2