oscarimonbox
9/21/2016 - 6:45 AM

Cambiar dimensiones o localización de frame

Cambiar dimensiones o localización de frame

	CGRect frame = self.vwClientLogo.frame;
	
	if (UIInterfaceOrientationIsLandscape(self.interfaceOrientation)){
		frame.size.height = 165;

	} else {
		frame.size.height = 283;
	}
	
	frame.origin.y = self.vwLogin.frame.origin.y + self.vwLogin.frame.size.height;

	self.vwClientLogo.frame = frame;