ios - Custom Control IBAction Xcode -


as part of app have created uiscrollview graphically displays of members of football team.

the uiscrollview control holds array of players , photos. when triggered, uiscrollview draws out photos of squad sequentially user can scroll through of squad's players. images represented in subclass of object, time uiimageview control, in order store additional player information.

i.e.: playerphoto subview of squadscrollview. squadscrollview subview of view controller

i want clicking player's photo results in segue-ing of view controller of nested within. ideas how pass up? kind of button press, don't know how create allow me add action parent view.

is horizontal or vertical scrolling app? if it's horizontal using tableview didselectrowatindexpath performing segue (or hook in ib cell directly).

if doing horizontal scroller can similar uicollectionview.

the other option to use single press gesture recognizer on image views , have gesture recognizer function perform segue.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -

jquery - Keeping Kendo Datepicker in min/max range -