AutoLayout de iOS: obtenga el ancho del tamaño del marco
Estoy desarrollando usando iOS 6 auto layout
Me gustaría registrar un mensaje que muestre el ancho del marco de la vista.
Puedo ver el textView en la pantalla.
Pero obtengo el ancho y la altura como cero, ¿me falta algo?
NSLog(@"textView = %p", self.textView);
NSLog(@"height = %f", self.textView.frame.size.height);
NSLog(@"width = %f", self.textView.frame.size.width);
textView = 0x882de00
height = 0.000000
width = 0.000000