When I write presentViewController code, the first class name of the class does not appear in the autocomplete field. So whenever I want to use presentViewController, I copy the class name.
Here is a screenshot

I already declared a login class, but it does not appear in autocomplete.
source
share