I got some issues while displaying Native Ads in my Feed collection view. (Swift App)
1. When I try to show more than 25 Native Ads in my Feed collection view, the CPU usage becomes 100+%, and I can't scroll the feed any more. I want to know how I can solve this issue and show more than 25 Native Ads in my feed while I am scrolling down. For your information, I am showing Native Ads every 7 posts in my feed collection view.
2. As a temporary solution, I limited the Native Ads count to 20. This caused about 40% CPU usage and it didn't cause any halt. By the way, I have pull-to-refresh feature in my feed collection view. I wanted to load new Ads when I refresh the feed.
The problem is that if I refresh the feed after I got 20 Ads, scroll down the feed and get more than 10 Ads (so total 30 Ads), the CPU usage becomes 100+% again and the app doesn't respond to user actions.
For your information, I called ad.unregisterAdView() for all old Native Ads and removed them from the list before reloading the feed and Ads.
Any help will be much appreciated.
Conor.