I'm loading my Feed Data(feedArray) in UIScrollView, i'm loading 10-10 records in the Scrollview at once.
Step 1: First i get 10 records into my feedArray from my webservice.
step 2: now i'm loading the 10 records with in the UIScrollView , it's perfectly fine now.
Step 3: now when i call the webservice again, i'm getting another 10 records, now i added them onto feedArray again, feedArray count is 20 records now. and UIScrollView For loop runs for 20 times
Step 4: Like that i will call the webservice number of times, every time feedArray will be increment by 10 records.
Result: after Loading number of subviews in scrollview, when it reaches to 250 records, my scrollview is getting stuck and very slow scrolling and finally crashed in all ios devices.
because of overloading the subviews in UIScrollView caused all of this issues, so i need to over come these issues.
NOTE: i am loading 19 types of feeds in my scrollview, each feed contains number of subviews, each feed is a UIView with number of subviews.
Any help will greatly Appreciate.
Thank you guys.