Skip to content

Commit 54d33b6

Browse files
author
Justin Martin
committed
Remove some code that shouldn't be necessary
1 parent 2c8d4cd commit 54d33b6

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)