start point of the line is (0,0). What's the bottom right Coordinates?
Thanks!
Dimensions of the device screen:
[UIScreen mainScreen].bounds
Your apps window:
[[[UIApplication sharedApplication].delegate] window].bounds
Any view controller:
myViewController.view.bounds
All of these return a CGRect. The bottom right is:
CGPointMake(CGRectGetMaxX(myRect), CGRectGetMaxY(myRect));