关于AVplayer播放器内存释放问题
[_player replaceCurrentItemWithPlayerItem:nil];
Label自适应的代码---
CGRect r = [self.detailModel.intro boundingRectWithSize:CGSizeMake(300,10000) options:(NSStringDrawingUsesLineFragmentOrigin) attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14.f]} context:nil];
self.detailLabel.frame = CGRectMake(30, 61, UISCREEN_WIDTH - 60, r.size.height + 50);
找到本地文件路径的方法: