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 8046759
In Process

The Archive Base Latest Questions

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

Brand new to app coding– hope you can help! I’m using XCode 4.3 with

  • 0

Brand new to app coding– hope you can help!

I’m using XCode 4.3 with Storyboard.

I have a UIWebView inside a tabbed UIview that loads an .mp3 file and plays it when that tab is selected. What I’d like, however, is to have the WebView sit idle when the tab is displayed, then only load once the user has pressed a “Load” button.

(Also, I’ve linked the “Load” button already as a Reload in Storyboard, so I guess I really would just like to know how to make UIWebView not load the first time?)

Here is my code atm:

@implementation FirstViewController
@synthesize webView;


- (void)viewDidLoad
{
[super viewDidLoad];
[webView loadRequest:[NSURLRequest
    requestWithURL:[NSURL URLWithString:
    @"http://mysite.com/test.mp3"]]]
    ;
// Do any additional setup after loading the view, typically from a nib.
}

- (void)viewDidUnload
{
    webView = nil;
    [super viewDidUnload];
// Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:    (UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}

@end

Thanks so much for any help!

  • 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-05T05:53:47+00:00Added an answer on June 5, 2026 at 5:53 am

    Use this syntax at your back button.
    webview.goBack;

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

Sidebar

Related Questions

Using Xcode 4.3.2, starting a brand new Single View App, in ViewController's - (void)viewDidLoad
If I just start a brand new Single View App project on Xcode 4.3.2,
I'm brand new to rails, and have inherited an app I'm trying to make
I'm brand new to Google App Engine and have just been playing around with
I create a brand new Single View Application iPhone app in Xcode 4.2, it
I have created a brand new heroku app, beforehand i deleted the old .git
I'm brand new to OOP and I have a question that's gotta be pretty
In my app I have set the storyboard to allow only horizontal and inverted
I am trying to persist a BigDecimal in a brand new grails 2.0 app,
I'm brand new to Android dev and have some n00b questions about AVD. Is

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.