Called in a transaction When the UIsearch user interface and keyboard are shown

I made a ViewController where there is a button and a UITextfield, when I click the button, the UITableViewController with the UISearchBar is displayed and the list of languages ​​is displayed. My problem is that when I launch the application the first time I click the button and then on the UISearchBar in the console, I have this warning.

SearchDebugApp [2237: 558457] + [CATransaction synchronize synchronization] called inside a transaction SearchDebugApp [2237: 558457] + [CATransaction synchronize synchronization] called inside a SearchDebugApp [2237: 558457] + [CATransaction synchronize] called inside a SearchDebugA transaction 2237: 558457] + [CATransaction synchronization] called in a transaction

this message only occurs the first time I click on a UISearchBar. Nothing seems wrong in the application, so I don’t understand why this is happening and how to debug it.

I looked for this warning, and found out that this happens when several animations happen in the main thread, but in my application only animation happens when the keyboard is displayed.

Here you can clone a project

+4
source share

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


All Articles