Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8034123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:54:44+00:00 2026-06-05T01:54:44+00:00

when click Audio button in view1.xib i want to load view2.xib file (this is

  • 0

when click Audio button in view1.xib

i want to load view2.xib file (this is not in uiwebview)

I want in my application just like this link.

But in this link the rootviewcontroller is in uiview but in my application the root view controller in UIWebView how to change the view if the rootview is in uiwebview?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T01:54:46+00:00Added an answer on June 5, 2026 at 1:54 am

    in the uiwebview html content for navigating to another view, you do have a link
    for example

    <a href="TEST://GOTOVIEW">Go To Second View</a>
    

    In the viewcontroller that contains the UIWebView, set the delegate of webView to be the the viewcontroller

    - (void) viewDidLoad
    {
       webView.delegate = self;
    }
    

    in the view controller Implement following

    - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
    {
        if (navigationType == UIWebViewNavigationTypeLinkClicked) {
    
            NSString *urlAbsolute = [request.URL absoluteString];
            if ([urlAbsolute isEqualToString:@"TEST://GOTOVIEW"])
            {
                //Go to the second view by calling the switchPage function
                return NO;
            }
        }
        return YES;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to play an audio file based on the click of a button.
I have a button that plays an audio file on its click listener. If
I have this method to play an audio file with a button: final MediaPlayer
How stop playing audio when click back button ? or exit application it's keeping
I am trying to play an audio file when I click the button, but
I have set music file on button click in the memory game application. Music
click the button to call this method: private void goRegister(final boolean isUsername) { new
I would like to play a sound when someone click home button of iphone/ipad,
I have an application that creates an audio file. I need to provide a
Check out this demo page: http://www.phon.ucl.ac.uk/home/mark/audio/play10.htm Click the Play Sound button twice, in quick

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.