年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- javashop
- sam123456gz
- zysnba
- tanling8334
- arpenker
- kaizi1992
- xpenxpen
- lemonhandsome
- xiangjie88
- ganxueyun
- xyuma
- wangchen.ily
- Xeden
- jh108020
- zhanjia
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- ajinn
- daizj
- wjianwei666
- ranbuijj
- 喧嚣求静
- silverend
- sichunli_030
- kingwell.leng
- lchb139128
- kristy_yy
- lich0079
- jveqi
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- lxguy
- zhangjijun
最新文章列表
播放视频
播放视频方法一:
MPMoviePlayerController *moviePlayer;
moviePlayer=[[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:[coursewareRow objectForKey:@"网址"]]];
// moviePlaye ...
AVAudioPlayer播放mp3模拟器有声真机无声的解决方法
使用AVAudioPlayer播放mp3,在模拟器中能播放,真机上播放却没有声音,后来逐一检查以下几项用来排除问题:
1、设备是否静音
2、其他应用是否有声音
3、clean target、删除应用并重新安装
来回折腾后问题依旧,最终的解决方法如下:
在- (void)applicationDidFinishLaunching:(UIApplication *)appl ...
iphone播放本地视频
- (void)playPreviewVideo {
[UIApplication sharedApplication].statusBarHidden = YES;
NSString *urlStr = [[NSBundle mainBundle] pathForResource:@"app" ofType:@"mp4"];
...
iPhone 视频播放
theMovie = [[MPMoviePlayerController alloc] init];
theMovie.view.backgroundColor = [UIColor blackColor];
theMovie.view.frame = [AppUIViewController getInstance].view.bounds;
UILabel *label = [ ...