I can not show UIToolbar under a scene, where the footage was pushed to the navigation controller and then using the pop button back See.
I have created a NIB in:
UIViewController RootViewController in which a UIView UIToolbar containing UIView
I next UIViewController, NextViewController In which I create a navigation controller:
UIViewController RootViewController in which a NavigationController with a UIViewController NextViewController
In the NextViewController I can see the Uitoolbar from RootViewController. When I go back to the NextViewController, using the back button from the navigation controller, then I can not see the Uitoolbar from RootViewController. Does anyone know how to show UIToolbar?
The work I did was thought that UITULBAR is to get an indicator and add it to the navigation controller as a subview:
AppDelegate * appDelegate = [[UIApplication shared application] representative]; RootViewController * RootviewController = appDelegate.rootViewController; UIView * rootViewUIView = rootViewController.view; UIToolbar * rootViewUIToolbar = rootViewUIView.toolbar; [Self.navigationController.view addSubview: rootViewUIToolbar];
But I get an error: "Request root Root VUUUTUblule" is not a structure or a union for something:
UIToolbar * rootViewUIToolbar = RootViewUIView .toolbar;
Any ideas on how to show the toolbar after the back button pops back from the navigation controller to the original view?
Comments
Post a Comment