Reputation: 4480
How can I make a button or any view which should be visible in all the view controllers and its action can be called from all the view controllers? Popping and pushing of viewcontrollers should take place behind that button. I don't have any code but I have a reference app, Moise Bently, in this app it has a button on top right corner.
Upvotes: 0
Views: 118
Reputation: 3730
Try adding _yourView/button to your window... you can do this in didFinishLaunchingWithOptions
also you can do [self.window bringSubviewToFront:_yourView]
when required.. if you add some other view over it.
Upvotes: 1