Github user acton393 commented on a diff in the pull request:
https://github.com/apache/incubator-weex/pull/1145#discussion_r187253448
--- Diff: ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.mm ---
@@ -163,6 +165,13 @@ - (NSUInteger)_childrenCountForLayout
- (void)_frameDidCalculated:(BOOL)isChanged
{
WXAssertComponentThread();
+ if (isChanged) {
+ CGFloat mainScreenWidth = [[UIScreen mainScreen]
bounds].size.width;
+ CGFloat mainScreenHeight = [[UIScreen mainScreen]
bounds].size.height;
+ if (mainScreenHeight/2 < _calculatedFrame.size.height &&
mainScreenWidth/2 < _calculatedFrame.size.width) {
+ [self weexInstance].performance.cellExceedNum++;
--- End diff --
they are not all cell components
---