This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 5, 2013, 5:11 PM
18 Posts

Integrate Navigation of iPhone and Xpages Application

  • Category: Extension Library
  • Platform: All
  • Release: 9.0
  • Role: Developer
  • Tags: iOS
  • Replies: 3

 

I am finishing an iPhone app for my company.
 
I am using Xcode and Xpages, as we are a Lotus Notes shop.
 
In Xcode I am using a UINavigation Controller with a Table View for selections. One selection is the Company Directory, which is an Xpage using the Xpages Mobile Controls (Single Page Application and then Application pages, etc.). This works fine EXCEPT for the navigation hand off between the Xcode parts of the app and Xpages. I end up with two sets of navigation controls, which is not good. 
 
Any ideas how I can get around this?
 
Bryan
Sep 5, 2013, 8:33 PM
18 Posts
Figured it out...

 

OK, I think I figured this out. 
 
It really isn't anything to do with Xpages, but with using UIWebViews within iOS. 
 
The problem was that on the first webView, I wanted to show the iOS Navigation, but in any subsequent ones I didn't want to - would just prefer to use the web navigation.
 
There is a delegation method in iOS Web views that allows you to show or hide the navigation bar. I added this delegate and just check to see which page I am on. If on the first one, I show the iOS Navigation, else I suppress. 
 
This works great!
Sep 5, 2013, 9:26 PM
586 Posts
Wow!

I'd love to see more about this as a blog post...  or a NotesIn9 video!!!

 

Dave

notesin9.com

Sep 5, 2013, 10:43 PM
18 Posts
Contact

Dave,

Can't find your email address anywhere. How can I contact you?

My email is bryanschmiedeler AT me.com.

Bryan


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal