0

I am trying to position the button on uiimageview in uicollectionview .

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

How i can use this (self.view.bounds.origin.x, self.view.bounds.size.height) to set button width and height ?I am pretty new in objective c .How i can comprehend it to use for button sizing?

  • possible duplicate of [bounds versus applicationFrame](http://stackoverflow.com/questions/3120139/bounds-versus-applicationframe) – Arun Dec 02 '14 at 04:54
  • no i want definition and usage of these terms.... self.view.bounds.origin.x, self.view.bounds.size.height –  Dec 02 '14 at 04:56

1 Answers1

0

Take a look at this for clear understanding.

enter image description here