Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Vladimir Zhelnov - neatek.pw - Web/iOS dev
- //viewDidLoad is called when the NIB finished loading. At this time the view is not visible on screen.
- //viewDidAppear is called when the view is visible on screen.
- override func viewDidAppear(_ animated: Bool) {
- self.textview.scrollRangeToVisible(NSRange(location:0, length:0))
- }
- // UIView Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement