Classes/MoviePlayerAppDelegate.m
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
A simple UIApplication delegate class that adds the StreamingViewController |
view to the window as a subview. |
*/ |
#import "MoviePlayerAppDelegate.h" |
@class MyStreamingMovieViewController; |
@implementation MoviePlayerAppDelegate |
@synthesize window; |
@synthesize streamingViewController; |
- (void)applicationDidFinishLaunching:(UIApplication *)application |
{ |
// Specify the streaming view controller as the root view controller of the window |
window.rootViewController = streamingViewController; |
[window makeKeyAndVisible]; |
} |
- (void)dealloc |
{ |
[window release]; |
[streamingViewController release]; |
[super dealloc]; |
} |
@end |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-07-14