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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:42:09+00:00 2026-06-02T17:42:09+00:00

As soon as i open my application i have to play a video, by

  • 0

As soon as i open my application i have to play a video, by the time the video is being completed i have to add a UIbutton on that video, is it possible, i have searched but i could not find a link, if anybody has passed this situation, and resolved it, can u kindly say me how to do this?
The code for adding the video is :

- (void)viewDidLoad {
    NSString *url = [[NSBundle mainBundle] pathForResource:@"splash_screen"ofType:@"mp4"];         
    MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]];  
    player.view.frame = self.view.bounds;  
    [self.view addSubview:player.view];   
    [player play];   
    [super viewDidLoad];  
}
  • 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-02T17:42:11+00:00Added an answer on June 2, 2026 at 5:42 pm

    You can use –

    [[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(movieFinished) 
                                                 name:MPMoviePlayerPlaybackDidFinishNotification
                                               object:nil];  
    

    This will call selector “movieFinished” once movie completed, after that you can make the changes that you want.

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

Sidebar

Related Questions

We will be soon hosting a large number of audio and video files that
We have an application that is built with Excel as the front end using
I have an application that started life as an MVC (1.0) app in Visual
I have a UIWebView in my application. If I tell it to open the
I have a DOS batch script that invokes a java application which interacts with
I have an VSTO application-level add-in, with my own custom task pane. I'm trying
I have an application that reads from a COM Port and then does something
We have an application that needs to access a database that is owned by
I have a service application which I will be soon implementing a log file.
I do have a java server. I am trying to build IPhone application that

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.