Skip to content

Commit f78e884

Browse files
Merge pull request #1102 from justinseanmartin/jmartin/remove-some-stuff
Remove check preventing scroll UITableViewCells
2 parents d78c747 + 54d33b6 commit f78e884

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Additions/UIAccessibilityElement-KIFAdditions.m

-5
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ + (UIView *)viewContainingAccessibilityElement:(UIAccessibilityElement *)element
175175
// Scroll the view (and superviews) to be visible if necessary
176176
UIView *superview = view;
177177
while (superview) {
178-
// Fix for iOS7 table view cells containing scroll views
179-
if ([superview.superview isKindOfClass:[UITableViewCell class]]) {
180-
break;
181-
}
182-
183178
if ([superview isKindOfClass:[UIScrollView class]]) {
184179
UIScrollView *scrollView = (UIScrollView *)superview;
185180
BOOL animationEnabled = [KIFUITestActor testActorAnimationsEnabled];

0 commit comments

Comments
 (0)