I have Main menu in my app with 4th submenus. I need 开发者_JS百科the user could go to each of the sub menu from other submenu, example sub1-sub2, sub2-sub3, sub3-sub4, sub4-sub1, not sub2-sub4!
But I don't use navigation and tabbar controllers. I tried to do something like this [self.view addSubview:sub1.view]; [self.view removeFromSuperview]; but is works really awful. How could I make it better?
You could place each of the your subviews in a UIScrollView. When the user has finished each menu you scroll to the next subview. You can prevent the user from being able to scroll to the next by implementing the appropriate delegate methods of the UIScrollView.
精彩评论