Asi Givati
Asi Givati

Reputation: 1475

Objective C - Move UITabBar

I have view with tab bar and with button to open side bar.

When the side bar is open, the tab bar stay without moving with the side bar.

The side bar is simply 2 views, one on the other in the same viewController.

Is it possible to move the tab bar with the upper view(side bar)?

enter image description here

Upvotes: 0

Views: 208

Answers (1)

kabarga
kabarga

Reputation: 803

With your solution you probably will need then to move all objects on the green field as you do with the tabbar. better way is to have 2 VC (scenes): one with the green field and tab bar, another one is a side menu. and animate the frame positions of the VCs (kind of left/right facebook menu animation), so all related objects will be moved including tabbar.

Upvotes: 1

Related Questions