Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I know the currently displayed page on iOS5? #8

Open
johntiror opened this issue Mar 24, 2013 · 1 comment
Open

How can I know the currently displayed page on iOS5? #8

johntiror opened this issue Mar 24, 2013 · 1 comment
Labels

Comments

@johntiror
Copy link

I know I can use RAPageCollectionViewController and then displayIndex, but this it's not working on iOS5.
Thanks

@evadne
Copy link
Owner

evadne commented Apr 14, 2013

Try looking for a private -currentViewController in the for-subclasses header. It should do what you do — but monitoring it is another story. You can hook into the appropriate layoutSubviews call and query the current view controller after calling into super to see if things have changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants