0

I am drawing line in my projects using UibezierPath, i am calculating and drawing line according to current width and another params. But, i have noticed that if view (in which i am drawing lines )'s width exceed 5462, it doesn't show up.

Is there something that i am missing, or there is limitations of maximum size of uiview or anything else.

Milan
  • 11
  • 5
  • This is not an answer. If you draw a line with 5462 in a bigger `UIView` (a subview of your main view, for example), is still the same result? – aramusss Sep 14 '15 at 10:57
  • @aramusss Actually i have added the view in scrollview and then i update content size of scrollview. And based on that content size i gave size to that view. So the scrollview is the superView of UIView – Milan Sep 14 '15 at 12:17
  • To avoid any unrelated problems, have you tried adding this big line in a simple big `UIView` being a child of the viewController's view? – aramusss Sep 14 '15 at 12:58
  • I cannot do that as i have to scroll the same drawing. – Milan Sep 15 '15 at 03:36
  • @aramusss Yes, i have tried adding single big line in big UIView but it gives same result. – Milan Sep 16 '15 at 04:12

0 Answers0