ios - UINavigationController with unified background across all ViewControllers -


I have gone with an idea of ​​a UINavigationController which is an image in the background and Each view controller on the stack has a transparent background, so the background image of the UINavigationController appears in all of them.

I tried to apply it in the most obvious way (see the controller with the root view controller and transparent background with full screen image, but it results in strange issues with the animation).

The HotelTonight app has succeeded in implementing the recording of their user interface I have made:

Does anyone have any suggestions on the right track to implement it? Perhaps the UIViewController subclass is better to do a special setup for its background and navigation controller style, for example:

If your background is an image, you will still get strange animation effects when a new view controller is older than the slide; The slides will slide as well, depending on how you want to make your transition animation custom, there are things you can do to play with scenes during the transition. The UIPresentationController can present some solutions to create a more custom animated transition.

EDIT: In order to emulate the hotel's app, I created a UI controller with an image in the form of a background, and with a clear background on the controller at the top of a push, I first used the controller's alpha I convert it to 0, while the segue is happening. On returning, I set the alpha back to 1.

  - (void) VisualElements: (BOOL) Animated {[Super ViewWhipper: Animated]; Self.view.alpha = 1; } - (zero) done button button: (ID) sender {[UIView Animative Vision: 25 Animation: ^ {self.view.alpha = 0; }]; // Transition is a Push Segu defined in the storyboard}  

I believe the background of the hotel app works well with this method because it is very dark. Not sure that the controller will be very effective for bright apps or apps with lots of content.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -