Hi to all!
I'm new on Apple Developer Program so I'm sorry for any bad-practise on this Forum.
I'm testing our applications on iOS 11 beta 8 (Xcode beta 6) and I'm getting stuck with an Hard issue on UITableView.
The scenario is:
# We have a 500+ rows on a UITableView with 8 columns.
# When we scroll there is no issue, when the table stop scrolling the cpu usage jump up to 100%.
# If we have scrolled a small number of rows the cpu usage drop down after one second.
# If we scroll at half table the cpu usage jumps to 100% and never go down.
It seems to be a problem with CoreFoundation while animating the scroll, here there is the instruments record:
https://www.dropbox.com/sh/mk13pf15b08imof/AADc-XJJjmrp6ZKZGqD68Mola?dl=0
As you can see from those screenshots there are 2 core processes wich are looping and put cpu at highest usage:
1.99 s 62.4% 0 s __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
1.19 s 37.3% 0 s __CFRunLoopDoTimers
I don't know why this happens in iOS 11, on iOS 10.3.3 there wasn't this issue, the only differences on the main swift file are some @objc tags and the new swift 4 compiler.
Let me know if you need more informations, Cheers!