7 Commits

Author SHA1 Message Date
liyuhua
b8b83ba38a 图标更换 2024-04-10 18:33:17 +08:00
liyuhua
41491e2c27 图标更换 2024-04-10 18:33:16 +08:00
liyuhua
8355d97ce4 更换图标 2024-04-10 18:33:16 +08:00
liyuhua
7f35e00be2 图标更换 2024-04-10 18:33:16 +08:00
liyuhua
92c25e2df7 图标更换 2024-04-10 18:33:16 +08:00
liyuhua
3c5007c40d 图标更换 2024-04-10 18:33:16 +08:00
liyuhua
ba6af6c09d 更换图标 2024-04-10 18:33:15 +08:00
10 changed files with 21 additions and 54 deletions

View File

@@ -11695,7 +11695,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.1.5;
MARKETING_VERSION = 2.1.3;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -11950,7 +11950,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.1.5;
MARKETING_VERSION = 2.1.3;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",

View File

@@ -31,7 +31,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"

View File

@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -35,10 +35,7 @@ typedef NS_ENUM(NSInteger, BackMusicPlayState) {
- ❌ 业务逻辑不要侵入 RctImpl 。
*/
@interface RtcManager : NSObject
///因为跨房pk结束后会闭麦用这个限制不要关麦
@property(nonatomic,assign) BOOL isAnckorPk;
///因为最小化进房闭麦问题,用这个限制不要关麦
@property(nonatomic,assign) BOOL isMiniEnterk;
/**
* 是否静音(静别人)
* YES🔇虽然你们麦位上在说话但是我就是不听。🙉

View File

@@ -25,7 +25,7 @@
//
#define MAX_STARWORDS_LENGTH 300
@interface XPRoomSendTextView ()<UITextFieldDelegate>
@interface XPRoomSendTextView ()
///
@property (nonatomic,strong) UIStackView *stackView;
///
@@ -195,10 +195,7 @@
self.sendButton.enabled = NO;
}
}
- (BOOL)textFieldShouldReturn:(UITextField *)textField{
[self.editTextFiled resignFirstResponder];
return YES;
}
#pragma mark - Public Method
+ (instancetype)showTextView:(UIView *)view delegate:(id<RoomHostDelegate>)delegate atUid:(NSString *)uid atNick:(NSString *)nick {
__block XPRoomSendTextView * textView;
@@ -266,10 +263,8 @@
NSAttributedString * attribute = [[NSAttributedString alloc] initWithString:@"请输入消息..." attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:15], NSForegroundColorAttributeName : [ThemeColor secondTextColor]}];
_editTextFiled.attributedPlaceholder = attribute;
_editTextFiled.borderStyle = UITextBorderStyleNone;
_editTextFiled.returnKeyType = UIReturnKeyDone;
_editTextFiled.textColor = [ThemeColor alertTitleColor];
_editTextFiled.font = [UIFont systemFontOfSize:15];
_editTextFiled.delegate = self;
[_editTextFiled setContentHuggingPriority:UILayoutPriorityDefaultLow forAxis:UILayoutConstraintAxisHorizontal];
}

View File

@@ -36,7 +36,6 @@ NS_ASSUME_NONNULL_BEGIN
- (NSArray *)getRoomPKGroupTeamList;
///房间内PK是否正在进行
- (BOOL)isRoomPKPlaying;
-(BOOL)getIsMiniEnter;
@end
NS_ASSUME_NONNULL_END

View File

@@ -74,16 +74,6 @@
if (self) {
_hostDelegate = delegate;
_isMiniEnter = NO;
[RtcManager instance].isMiniEnterk = self.hostDelegate.getIsMiniEnter;
RoomInfoModel *roomInfo = self.hostDelegate.getRoomInfo;
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode ){
if ([RtcManager instance].isAnckorPk == NO){
if ([RtcManager instance].isMiniEnterk == NO){
[RtcManager instance].localMuted = YES;
}
}
}
NSInteger microCount = self.countOfMircoView;
for (int i = 0; i < microCount; i++) {
UIView* microView = [self microViewForIndex:i];
@@ -600,19 +590,8 @@
sequence.userInfo = nil;
}
}
RoomInfoModel *roomInfo = self.hostDelegate.getRoomInfo;
if (changeType == 2){
if (userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && roomInfo.roomModeType == RoomModeType_Open_Blind){
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode){
if ([RtcManager instance].isAnckorPk == NO){
[RtcManager instance].localMuted = YES;
}
[RtcManager instance].isAnckorPk = NO;
}
}
}else if (changeType == 1) { //
if (changeType == 1) { //
MicroQueueModel *sequence = [self.micQueue objectForKey:position];
sequence.userInfo = userInfo;
if (self.hostDelegate.getRoomInfo.showGiftValue && userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
@@ -638,19 +617,7 @@
}
//
if (sequence && sequence.userInfo.uid == [AccountInfoStorage instance].getUid.integerValue && userInfo.isNoProhibitMic == NO) {
if (roomInfo.roomModeType != RoomModeType_Open_Blind){
if (userInfo.isNoProhibitMic == NO){
if (roomInfo.roomModeType != RoomModeType_Open_AcrossRoomPK_mode){
if ([RtcManager instance].isMiniEnterk == NO){
[RtcManager instance].localMuted = YES;
}
}
}
}
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[RtcManager instance].isMiniEnterk = NO;
});
[RtcManager instance].localMuted = YES;
}
}
if(userInfo.isNoProhibitMic == YES){

View File

@@ -1652,9 +1652,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
self.anchorScrollView.contentOffset = CGPointMake(0, KScreenHeight);
}
}
-(BOOL)getIsMiniEnter{
return self.isMiniEnter;
}
#pragma mark - XPRoomSettingInputViewDelegate
///
- (void)xPRoomSettingInputView:(XPRoomSettingInputView *)view didClickConfirm:(NSString *)text type:(RoomSettingInputType)type {