ios - Usage of CGrect for positioning button in objective c frame view bounds -


i trying position button on uiimageview in uicollectionview .

_prevbutton.frame =  cgrectmake(self.view.bounds.origin.x, self.view.bounds.size.height, 50, 30); 

how can use (self.view.bounds.origin.x, self.view.bounds.size.height) set button width , height ?i pretty new in objective c .how can comprehend use button sizing?

take @ clear understanding.

enter image description here


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -