ios - Is it possible to add one UIButton object to multiple UIImageViews? -
i have scrollview , inside scrollview, there various pfimageview objects.
i need single uibutton object on every pfimageview (same place , same button) load subview information of image tapped.
is possible?
you can't have single control in multiple locations, it's simple. saw comment not wanting use uicollectionview because it's not design you're looking for, wonder kind of design want create uiscrollview because uicollectionview doesn't works.
uicollectionview not restrained line/grid display of cells, can customized in huge amounts of ways. should watch wwdc 2012 video "introducing collection views" : @ end of it, uicollectionview possibilities shown , of them quite impressive.
also, https://www.cocoacontrols.com/ website place find custom controls , inspiration own design.
this little digression original issue, think collection of uiimageview within uiscrollview can created uicollectionview, if want add controls within "cells".
Comments
Post a Comment