UIBarButtonItem remains highlighted when using popViewController

I had a problem with the UINavigationController popViewController: method UINavigationController popViewController: when I go from controller A to controller B using the navigation controller button, and then controller B pops up, the navigation controller button (in controller A ) remains highlighted for about 20 seconds.

On the other hand, if I go from B to A using the back button, the navigation button will appear in normal condition (not highlighted).

Any ideas?

Status List:

State 1: Controller A : State 2: Controller B : State 3.1: Controller A using popViewController: State 3.2: Controller A using backButton:

State Images:

State 1: Controller A : State 1

State 2: Controller B : State 2

State 3.1: Controller A using popViewController: State 3.1

State 3.2: Controller A using backButton: State 3.2

+5
source share

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


All Articles