Getting the size of a view added using IB?
Hello guys,
Let's say you add a UIView subclass to your project, you add a view using IB and associate it to that subclass ( using inspector ).. How can I retrieve the width\height of the view using code?
I'm doing this because I want to do some dynamic layout according to the size of the view.
I know it's achievable if I create the UIView using code ( instead of IB ) but I'm not gonna resort to that until a while.. hoping for a solution.
Please help, I'm new to objective-c.
Many thanks in advance
|