Skip to content

Commit 5a2707e

Browse files
authored
Merge pull request #440 from jcassidyav/fix-ns-array-access
fix(tabs): NSArray Indexing
2 parents c8b42e6 + fefabde commit 5a2707e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tabs/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class UIPageViewControllerImpl extends UIPageViewController {
207207
let scrollView: UIScrollView = null;
208208

209209
for (let i = 0; i < subViews.count; i++) {
210-
const view: UIView = subViews[i];
210+
const view: UIView = subViews.objectAtIndex(i);
211211
if (view instanceof UIScrollView && !(view instanceof MDCTabBarView)) {
212212
scrollView = view;
213213
}

0 commit comments

Comments
 (0)