Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
e03b9b3b
Commit
e03b9b3b
authored
May 29, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SDK修改:增加隐藏右上角更多按钮的配置字段
parent
5b6b8e97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
TUIBaseChatViewController.h
TUIKit/TUIChat/UI_Classic/Chat/TUIBaseChatViewController.h
+3
-0
TUIBaseChatViewController.m
TUIKit/TUIChat/UI_Classic/Chat/TUIBaseChatViewController.m
+3
-0
No files found.
TUIKit/TUIChat/UI_Classic/Chat/TUIBaseChatViewController.h
View file @
e03b9b3b
...
@@ -46,6 +46,9 @@
...
@@ -46,6 +46,9 @@
*/
*/
@interface
TUIBaseChatViewController
:
UIViewController
@interface
TUIBaseChatViewController
:
UIViewController
// 是否隐藏更多按钮
@property
(
nonatomic
,
assign
)
BOOL
needHideNaviMore
;
// 文件预览代理
@property
(
nonatomic
,
weak
)
id
<
TUICustomOpenFileDelegate
>
filePreviewDelegate
;
@property
(
nonatomic
,
weak
)
id
<
TUICustomOpenFileDelegate
>
filePreviewDelegate
;
@property
(
nonatomic
,
strong
)
TUIChatConversationModel
*
conversationData
;
@property
(
nonatomic
,
strong
)
TUIChatConversationModel
*
conversationData
;
...
...
TUIKit/TUIChat/UI_Classic/Chat/TUIBaseChatViewController.m
View file @
e03b9b3b
...
@@ -296,6 +296,9 @@ static CGRect gCustomTopViewRect;
...
@@ -296,6 +296,9 @@ static CGRect gCustomTopViewRect;
param
[
TUICore_TUIChatExtension_NavigationMoreItem_ItemSize
]
=
NSStringFromCGSize
(
itemSize
);
param
[
TUICore_TUIChatExtension_NavigationMoreItem_ItemSize
]
=
NSStringFromCGSize
(
itemSize
);
param
[
TUICore_TUIChatExtension_NavigationMoreItem_FilterVideoCall
]
=
@
(
!
TUIChatConfig
.
defaultConfig
.
enableVideoCall
);
param
[
TUICore_TUIChatExtension_NavigationMoreItem_FilterVideoCall
]
=
@
(
!
TUIChatConfig
.
defaultConfig
.
enableVideoCall
);
param
[
TUICore_TUIChatExtension_NavigationMoreItem_FilterAudioCall
]
=
@
(
!
TUIChatConfig
.
defaultConfig
.
enableAudioCall
);
param
[
TUICore_TUIChatExtension_NavigationMoreItem_FilterAudioCall
]
=
@
(
!
TUIChatConfig
.
defaultConfig
.
enableAudioCall
);
if
(
self
.
needHideNaviMore
)
{
return
;
}
NSArray
<
TUIExtensionInfo
*>
*
extensionList
=
[
TUICore
getExtensionList
:
TUICore_TUIChatExtension_NavigationMoreItem_ClassicExtensionID
param
:
param
];
NSArray
<
TUIExtensionInfo
*>
*
extensionList
=
[
TUICore
getExtensionList
:
TUICore_TUIChatExtension_NavigationMoreItem_ClassicExtensionID
param
:
param
];
TUIExtensionInfo
*
maxWeightInfo
=
[
TUIExtensionInfo
new
];
TUIExtensionInfo
*
maxWeightInfo
=
[
TUIExtensionInfo
new
];
maxWeightInfo
.
weight
=
INT_MIN
;
maxWeightInfo
.
weight
=
INT_MIN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment