Skip to content

Commit 03f49e8

Browse files
committed
关闭无用的输出日志
关闭无用的输出日志
1 parent ce39aa5 commit 03f49e8

4 files changed

Lines changed: 1 addition & 6 deletions

File tree

HDCommonTools.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'HDCommonTools'
3-
s.version = '2.4.0'
3+
s.version = '2.4.1'
44
s.license= { :type => "MIT", :file => "LICENSE" }
55
s.summary = 'HDCommonTools,一句代码即可实现多种常用功能.A short code can achieve a variety of commonly used functions.'
66
s.homepage = 'https://github.com/DamonHu/HDCommonTools'

HDCommonTools/HDCommonTools/HDCommonTools+Multimedia.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ - (void)playMusicWithMusicFilePath:(NSString *)musicPath withRepeat:(BOOL)repeat
226226
avPlayerObserver = [avPlayer addPeriodicTimeObserverForInterval:CMTimeMake(1.0, 1000.0) queue:dispatch_get_main_queue() usingBlock:^(CMTime time) {
227227
CGFloat duration = CMTimeGetSeconds(avPlayer.currentItem.duration); //视频总时间
228228
CGFloat currentTime = CMTimeGetSeconds(time);//视频当前运行时间
229-
NSLog(@"第一个准备好播放了,总时间:%f,%f",duration,currentTime);
230229
if (duration > 0 && currentTime > 0) {
231230
if (currentTime >= duration - 0.25) {
232231
if (avRepeatPlayer) {
@@ -254,7 +253,6 @@ - (void)playMusicWithMusicFilePath:(NSString *)musicPath withRepeat:(BOOL)repeat
254253
avRepeatPlayerObserver = [avRepeatPlayer addPeriodicTimeObserverForInterval:CMTimeMake(1.0, 1000.0) queue:dispatch_get_main_queue() usingBlock:^(CMTime time) {
255254
CGFloat duration = CMTimeGetSeconds(avRepeatPlayer.currentItem.duration); //视频总时间
256255
CGFloat currentTime = CMTimeGetSeconds(time);//视频当前运行时间
257-
NSLog(@"第二个准备好播放了,总时间:%f,%f",duration,currentTime);
258256
if (duration > 0 && currentTime > 0) {
259257
if (currentTime >= duration - 0.25) {
260258
if (avPlayer) {

HDCommonTools/HDCommonTools/HDCommonTools+SystemInfo.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ - (NSString *)getMacAddress {
9494
NSDictionary *dic = (NSDictionary *)info;
9595
NSString *ssid = [[dic objectForKey:@"SSID"] lowercaseString];
9696
NSString *bssid = [dic objectForKey:@"BSSID"];
97-
NSLog(@"ssid:%@ \nssid:%@",ssid,bssid);
9897
return bssid;
9998
}
10099

HDCommonTools/ViewController.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ - (void)viewDidLoad {
2626
[self initData];
2727
[self createUI];
2828
NSLog(@"当前系统版本: %@, wifi地址: %@", [[HDCommonTools sharedHDCommonTools] getDetailModelStr], [[HDCommonTools sharedHDCommonTools] getMacAddress]);
29-
30-
3129
}
3230

3331
-(void)initData{

0 commit comments

Comments
 (0)