Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Jia committed Jun 23, 2015
1 parent 11535a6 commit 229127b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

在需要使用的控制器内引入 <pre><code>#import "KrVideoPlayerController.h"</code></pre>

<pre><code>
```objective-c
@interface ViewController ()
@property (nonatomic, strong) KrVideoPlayerController *videoController;
@end
Expand Down Expand Up @@ -46,18 +46,18 @@
}
self.videoController.contentURL = url;
}
</code></pre>
```
#小知识
_隐藏navigation tabbar 电池栏_
_View controller-based status bar appearance NO_
<pre><code>
*隐藏navigation tabbar 电池栏
*View controller-based status bar appearance NO
``` objective-c
- (void)toolbarHidden:(BOOL)Bool{
self.navigationController.navigationBar.hidden = Bool;
self.tabBarController.tabBar.hidden = Bool;
[[UIApplication sharedApplication] setStatusBarHidden:Bool withAnimation:UIStatusBarAnimationFade];
}
</code></pre>
```



0 comments on commit 229127b

Please sign in to comment.