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

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

python - More Issues with overlapping labels in Tkinter -