I'm using DALinedTextView
for lined UITextView
. I want to remove red vertical line and type text from left side. How can i do this. Thanks in advance.
Asked
Active
Viewed 162 times
2

Rohit Khandelwal
- 1,778
- 15
- 23
1 Answers
0
Comment
the [appearance setVerticalLineColor:DEFAULT_VERTICAL_COLOR];
in initialize
method of DALinedTextView
and if you don’t want to comment just change the color of #define DEFAULT_VERTICAL_COLOR
to [UIColor clearColor]
or any other color.
After this in your viewController
viewDidLoad
method change textContainerInset
like--
self.textView.textContainerInset = UIEdgeInsetsMake(18.0f, 0.0f, 8.0f, 10.0f);
you can change cursor position according your value.

Rohit Khandelwal
- 1,778
- 15
- 23
-
thanks dev.rk its work for me changing edge insets.. and my red line removed now by using this approach Comment the [appearance setVerticalLineColor:DEFAULT_VERTICAL_COLOR]; – Mar 22 '16 at 06:34
-
feel free to accept the answer if your problem solved. So that others can take benefit of it. – Rohit Khandelwal Mar 22 '16 at 06:44