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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:36:11+00:00 2026-05-15T21:36:11+00:00

This code MPMoviePlayerViewController* mp = [[MPMoviePlayerViewController alloc] initWithContentURL:url]; int i=0; unsigned int mc =

  • 0

This code

MPMoviePlayerViewController* mp = [[MPMoviePlayerViewController alloc] initWithContentURL:url];

    int i=0;
    unsigned int mc = 0;
    Method * mlist = class_copyMethodList(object_getClass([mp moviePlayer]), &mc);
    NSLog(@"%d methods", mc);
    for(i=0;i<mc;i++)
        NSLog(@"Method no #%d: %s", i, sel_getName(method_getName(mlist[i])));
    /* note mlist needs to be freed */

    if  ([[mp moviePlayer] respondsToSelector:@selector(thumbnailImageAtTime:timeOption:)])
    {
        image = [[mp moviePlayer] thumbnailImageAtTime:(NSTimeInterval)2.0 timeOption: MPMovieTimeOptionNearestKeyFrame];
    }
    [mp release];

print this Log

45 methods

Method no #0: pause

Method no #1: stop

Method no #2: initialPlaybackTime

Method no #3: setInitialPlaybackTime:

Method no #4: scalingMode

Method no #5: setScalingMode:

Method no #6: contentURL

Method no #7: initWithContentURL:

Method no #8: movieSourceType

Method no #9: setMovieSourceType:

Method no #10: movieMediaTypes

Method no #11: prepareToPlay

Method no #12: isPreparedToPlay

Method no #13: isFullscreen

Method no #14: setUseApplicationAudioSession:

Method no #15: shouldAutoplay

Method no #16: setShouldAutoplay:

Method no #17: controlStyle

Method no #18: setControlStyle:

Method no #19: setContentURL:

Method no #20: setFullscreen:animated:

Method no #21: useApplicationAudioSession

Method no #22: playableDuration

Method no #23: setEndPlaybackTime:

Method no #24: endPlaybackTime

Method no #25: loadState

Method no #26: dealloc

Method no #27: view

Method no #28: init

Method no #29: forwardInvocation:

Method no #30: backgroundView

Method no #31: methodSignatureForSelector:

Method no #32: duration

Method no #33: play

Method no #34: setRepeatMode:

Method no #35: playbackState

Method no #36: setFullscreen:

Method no #37: naturalSize

Method no #38: skipToBeginning

Method no #39: repeatMode

Method no #40: beginSeekingBackward

Method no #41: beginSeekingForward

Method no #42: endSeeking

Method no #43: skipToNextItem

Method no #44: skipToPreviousItem

There is no any of thumbnail selectors.

Who know reason of this strange behavior?

  • 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-05-15T21:36:11+00:00Added an answer on May 15, 2026 at 9:36 pm

    Objective-C has multiple-level dispatch, so it’s possible that the method you’re interested in is implemented lazily or by forwarding. To see if it’s lazily resolved, just move your loop to after you call the method.

    While the above is all true, the method you’re looking for is on MPMoviePlayerController, not MPMoviePlayerViewController.

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

Sidebar

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.