Tab bar hidden not working iOS swift

Problem:

I had tried to hide my tab bar in my viewwillappear function but it was not woking.But the line of code is executed.

Solution:

I understand that it was caused because of UI execution.So try to execute the code after delay of 1 second.It will works well.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift