ios - Detect selected view in a UIScrollView -


i have uiscrollview horizontale scrollable. inside view have added views subviews. how can detect view in middle of screen , selected user?

i thought of didselectrowatindexpath: scroll view.

thanks

you can check contentoffset property of uiscrollview , check view @ cgpoint in scrollview. can refer link shows how uiview cgpoint.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -