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

  • Home
  • SEARCH
  • 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 8295609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:40:09+00:00 2026-06-08T14:40:09+00:00

I implemented UIWebview with navigation bar and any new visited page will be added

  • 0

I implemented UIWebview with navigation bar and any new visited page will be added to the navigation stack but the problem is when I hide some element before pushing the new view and go back to the same page the element stays hidden even if I show it again

Here is My JS code

jQuery(document).ready(function(){
                           $('#hello').fadeIn('slow');}); 
    $('.facebook,.location, .mainItem').hide();         
    $('.facebook,.location, .mainItem').show();

    $('.contactIcon').click(function(e){
        e.preventDefault(); 
         $('.facebook,.location, .mainItem').fadeOut('slow', function() {
         window.location = "contact.html"; 
         });
     });

and here is the Objective-C Code

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
DrillDownWebExampleAppDelegate *appDelegate = 
(DrillDownWebExampleAppDelegate *)[[UIApplication sharedApplication] delegate];

if(navigationType == UIWebViewNavigationTypeOther)
{
    NSURL *url2 = [request URL];
    NSString *URLStr = [url2 absoluteString];

    RootViewController* viewController = [[RootViewController alloc] init];
    NSString *holder = [self getQueryStringInner:URLStr];
    [self getQueryString:URLStr];
    if([holder length] != 0 )
    {
        appDelegate.title =@"Title"; 
        appDelegate.query = queryString;
        [self.navigationController pushViewController:viewController animated:YES];
        [viewController release];
        return NO;
    }



}
return YES;
}

Can you please help with that ?

  • 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-08T14:40:11+00:00Added an answer on June 8, 2026 at 2:40 pm

    I did a small trick but I think there is another way

    I showed the elements again after window.location

    jQuery(document).ready(function(){
                           $('#hello').fadeIn('slow');}); 
    $('.facebook,.location, .mainItem').hide();         
    $('.facebook,.location, .mainItem').show();
    
    $('.contactIcon').click(function(e){
        e.preventDefault(); 
         $('.facebook,.location, .mainItem').fadeOut('slow', function() {
         window.location = "contact.html"; 
         $('.facebook,.location, .mainItem').show();
         });
     });
    

    It works like this

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I make the navigation bar hide as the user scrolls? I'm trying
I have implemented UIWebView and displaying the contents coming from web services,Here is the
So I have a UIWebView implemented in one .m file and a UITableView implemented
I implemented Adwhirl into my new universal app. And was able to get the
I implemented some code using backbone.js in Asp.NEt MVC3 and found backbone.js very helpful.
I Have a UIWebView that displays third party web page (not a page I
I'm loading in a UIWebView from another class, and that works great. But now
I implemented JNotify to determine when a new file arrives in a particular directory,
I implemented an http server using javascript and Node.js. for some reason when the
I have multiple custom UIWebView's as subviews within a UIScrollView. I have implemented the

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.