swift - Setting up iOS Navigation Elements -


i having difficulty figuring out how set uinavigationcontroller result want. succinctly, want mimic navigation of app briefme.

specifically, want:

  • a main view (v#1) segues new view controller (v#2) embedded uiwebview
  • to permanently hide/disable navigation bar , toolbar on v#1, want toolbar on v#2 (ideally shows/hides on swipe -- figure can solved uigesturerecognizer if not through navcontroller's hide on swipe/tap property)
  • v#2 segue v#1 on swipe left edge of screen, default navcontroller behavior, shown here.

enter image description here

i've run 2 problems attempt set up:

  1. i can't permanently hide navigation/toolbar on v#1 while leaving v#1+#2 embedded in navcontroller. without navcontroller, don't retain swipe-to-segue functionality when v#2 @ top of stack
  2. allowing webview scroll disables/'intercepts' swipe-to-segue functionality. thought disable interaction webview, place webview in scrollview, , allow vertical scrolling on scrollview. allow swipe-to-segue work?

if understand questions correctly:

  1. we’re still popping controller stack during transition. add navigation bar subview of controller’s view @ top of stack , set event manually.

  2. we ended using version of answer specified here. added invisible thin column overlaying left side of webview because webviews still giving trouble.

hope helps!


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -