From f8457b624a75bf8e41489b74f66009eee6891b8b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 08 十月 2021 16:00:37 +0800 Subject: [PATCH] 2021-10-08 1.新SDKiOS_OpenSDK_3.11.6_20210914 --- iOS/Xamarin/LCSDKOnXamarin/LCSDKOnXamarin/LCOnIntercomViewController.m | 27 +++++++++++---------------- 1 files changed, 11 insertions(+), 16 deletions(-) diff --git a/iOS/Xamarin/LCSDKOnXamarin/LCSDKOnXamarin/LCOnIntercomViewController.m b/iOS/Xamarin/LCSDKOnXamarin/LCSDKOnXamarin/LCOnIntercomViewController.m index bd30ccc..b493663 100644 --- a/iOS/Xamarin/LCSDKOnXamarin/LCSDKOnXamarin/LCOnIntercomViewController.m +++ b/iOS/Xamarin/LCSDKOnXamarin/LCSDKOnXamarin/LCOnIntercomViewController.m @@ -89,8 +89,7 @@ //寮�濮嬪弽鍛� [self StartReverseCall]; [self ShowCalltimeBtn:callingStr]; -// //鏆傛椂涓嶆敮鎸佸紑閿佸姛鑳� -// [self setUnlock:NO]; + //娉ㄥ唽寮�閿佹垚鍔熺洃鍚� [self addOpenSuccessAction]; @@ -128,8 +127,6 @@ } } - - - (void)initTopBarView { UIView *TopView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, APP_TOP_BAR_HEIGHT)]; TopView.backgroundColor = HEXCOLORA(0xF7F7F7,1.0); @@ -140,7 +137,6 @@ TopView.layer.shadowOffset = CGSizeMake(0,0.5); TopView.layer.shadowOpacity = 1; TopView.layer.shadowRadius = 0; - } - (UIButton *)backButton{ @@ -447,13 +443,13 @@ } -- (int *)getTextWidth:(UIButton*) btn -{ - int textWidth = 0; - // 聽 CGSize size = [btn.titleLabel.textsizeWithFont:[UIFontboldSystemFontOfSize:15]constrainedToSize:contentMaxSizes lineBreakMode:UILineBreakModeCharacterWrap]; - // textWidth = (int)fontSize.Width; - return textWidth; -} +//- (int *)getTextWidth:(UIButton*) btn +//{ +// int textWidth = 0; +// // 聽 CGSize size = [btn.titleLabel.textsizeWithFont:[UIFontboldSystemFontOfSize:15]constrainedToSize:contentMaxSizes lineBreakMode:UILineBreakModeCharacterWrap]; +// // textWidth = (int)fontSize.Width; +// return textWidth; +//} @@ -871,12 +867,11 @@ } - [[NSNotificationCenter defaultCenter] removeObserver:self]; } -(void)dealloc{ NSLog(@"==============dealloc 1"); - + [[NSNotificationCenter defaultCenter] removeObserver:self]; } //#pragma mark ESVideoPhoneDelegate @@ -1083,11 +1078,11 @@ - (void)stopPlaySystemSound{ // return; NSLog(@"stop PlaySystemSound"); - stopRingAndVibration(); + LCStopRingAndVibration(); } //鍋滄鍝嶉搩鍜岄渿鍔紝绉婚櫎鍥炶皟骞跺鐞嗘帀閾冨0鍜岄渿鍔� -void stopRingAndVibration() { +void LCStopRingAndVibration() { AudioServicesRemoveSystemSoundCompletion(kSystemSoundID_Vibrate); // AudioServicesRemoveSystemSoundCompletion(sound); AudioServicesDisposeSystemSoundID(kSystemSoundID_Vibrate); -- Gitblit v1.8.0