Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Created September 26, 2010 04:07
Show Gist options
  • Save ngpestelos/597596 to your computer and use it in GitHub Desktop.
Save ngpestelos/597596 to your computer and use it in GitHub Desktop.
(as of iOS 4.0.1) attaching the player to a view:
[[player view] setFrame: [viewForMovie bounds]];
[self.viewForMovie addSubview:player.view];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment