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

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift