How to prevent an odd scroll flash?

I do not think that what I am doing is all unusual, but of course I get an unusual result.

I have a regular UITableView, and when one of the cells is affected, I push the viewController onto the navigation system stack. I haven’t done anything 100 times before.

This particular viewController is another UITableViewController with one section and one cell. This single cell contains a UITextView. This is a completely general “Enter your notes” screen. This screen sets the UITextView as firstResponder to viewDidAppear.

The problem is that ... when a new keyboard slides across the screen, above the new viewController ... I get what looks suspiciously like a "scroll bar" only on the LEFT side of the screen. The effect is that I have a flash point in the upper left corner of the screen. I can reproduce this both in the simulator and on the device.

strange point http://matthewcave.com/images/weird_dot.png

I can send the code, but I was wondering if anyone had seen this before, and quickly answered how I could get him to leave. If I sent a code, what would you like to see? Publishing the entire viewController class seems redundant, but I literally have no idea where the problem is.

Thanks a lot.

+3
source share
2

, , ?

0

, . , ( , ). , , , , . , , , , .

//configure tableview behavior
self.tableView.rowHeight = 178.0f;
self.tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite; //hide the scrollbar dot
self.tableView.scrollEnabled = NO;
0

Source: https://habr.com/ru/post/1716868/


All Articles