UITextView content Inset Bottom not working iOS7
Asked Answered
G

1

7

UITextView content Inset bottom value is not working in iOS 7.

By not working i mean if i keep typing in UITextView and cursor reaches at end then it hides and i cant see text which i am typing.

I tried

[myTextView  setTextContainerInset:UIEdgeInsetsMake(0, 0, 20, 0)];

[myTextView setContentInset:UIEdgeInsetsMake(0, 0, 20, 0)];

But it is not making any effect.

Giovannagiovanni answered 16/10, 2013 at 15:12 Comment(3)
did you find a solution to this? currently in same situationSchinica
#20962370Augustineaugustinian
Same here using autolayout without storyboard :/Isaacisaacs
K
-3

You might need to turn off automatic scroll view adjustments in your view controller:

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setAutomaticallyAdjustsScrollViewInsets:NO];
}
Kolyma answered 2/11, 2013 at 22:30 Comment(1)
This answer is not relevant.Augustineaugustinian

© 2022 - 2024 — McMap. All rights reserved.