I\'m debugging my code and trying to figure out the size of the view using this:
p view.frame.size.height
but I\'m getting this error:
I had same problem and i solved it. Your class might be inherited from "UIViewController". It must be inherited from "UIView" so as to make an frame object in it.