I am having trouble in getting UIView’s height. I am trying to get the height and (x,y) of my UIView. The view is add as subview of Other view
float y = optionalView.frame.size.height;
NSLog(@"%.1f",y);
but it always return 0.0 . need guidance.
Thanks…
if you want to log it