Commit 938472cab6786786e142e2472672b031a4edfc5d
1 parent
f195ace8
no message
Showing
2 changed files
with
2 additions
and
1 deletions
Example/CNLivePlayer/CNLiveAppDelegate.m
| @@ -23,7 +23,6 @@ | @@ -23,7 +23,6 @@ | ||
| 23 | { | 23 | { |
| 24 | // Override point for customization after application launch. | 24 | // Override point for customization after application launch. |
| 25 | [CNLivePlayerManager setAppId:CNLivePlayer_AppId appKey:CNLivePlayer_AppKey isTestEnvironment:YES]; | 25 | [CNLivePlayerManager setAppId:CNLivePlayer_AppId appKey:CNLivePlayer_AppKey isTestEnvironment:YES]; |
| 26 | - | ||
| 27 | return YES; | 26 | return YES; |
| 28 | } | 27 | } |
| 29 | 28 |
Example/CNLivePlayer/CNLiveViewController.m
| @@ -46,10 +46,12 @@ | @@ -46,10 +46,12 @@ | ||
| 46 | [self.view addSubview:label]; | 46 | [self.view addSubview:label]; |
| 47 | 47 | ||
| 48 | } | 48 | } |
| 49 | + | ||
| 49 | - (void)btnDidClicked1{ | 50 | - (void)btnDidClicked1{ |
| 50 | [self presentViewController:[CNLivePlayerController new] animated:YES completion:nil]; | 51 | [self presentViewController:[CNLivePlayerController new] animated:YES completion:nil]; |
| 51 | 52 | ||
| 52 | } | 53 | } |
| 54 | + | ||
| 53 | - (void)btnDidClicked2{ | 55 | - (void)btnDidClicked2{ |
| 54 | [self presentViewController:[CNLiveStreamerController new] animated:YES completion:nil]; | 56 | [self presentViewController:[CNLiveStreamerController new] animated:YES completion:nil]; |
| 55 | 57 |