-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1041 from haoxiuwen/doc-v2
Modify IM Docs
- Loading branch information
Showing
21 changed files
with
41 additions
and
46 deletions.
There are no files selected for viewing
File renamed without changes
Binary file added
BIN
+56.2 KB
docs/.vuepress/public/images/uikit/chatuikit/android/message_longpress_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+33.7 KB
docs/.vuepress/public/images/uikit/chatuikit/android/message_types_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-40.7 KB
.../images/uikit/chatuikit/ios/configurationitem/chat/[email protected]
Binary file not shown.
Binary file removed
BIN
-43.7 KB
.../images/uikit/chatuikit/ios/configurationitem/chat/[email protected]
Binary file not shown.
Binary file removed
BIN
-38.9 KB
...images/uikit/chatuikit/ios/configurationitem/chat/[email protected]
Binary file not shown.
Binary file removed
BIN
-34.4 KB
...images/uikit/chatuikit/ios/configurationitem/chat/[email protected]
Binary file not shown.
File renamed without changes
Binary file added
BIN
+57.2 KB
docs/.vuepress/public/images/uikit/chatuikit/ios/message_longpress_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,27 +91,24 @@ | |
|
||
### 设置附件消息 | ||
|
||
#### 设置类似微信样式 | ||
### 设置发送附件消息弹窗样式 | ||
|
||
若实现发送附件消息时弹出类似微信样式的弹窗,可进行如下设置: | ||
1. 若实现发送附件消息时弹出类似微信样式的弹窗,可进行如下设置: | ||
|
||
```Swift | ||
Appearance.chat.messageAttachmentMenuStyle = .followInput | ||
``` | ||
|
||
效果图如下所示: | ||
|
||
![img](/images/uikit/chatuikit/ios/configurationitem/chat/[email protected]) | ||
|
||
#### 设置仿系统 UIActionSheet 样式 | ||
|
||
若实现消息长按后弹出仿系统 `UIActionSheet` 样式的弹窗,可进行如下设置: | ||
2. 若实现消息长按后弹出仿系统 `UIActionSheet` 样式的弹窗,可进行如下设置: | ||
|
||
```Swift | ||
Appearance.chat.messageAttachmentMenuStyle = .actionSheet | ||
``` | ||
|
||
![img](/images/uikit/chatuikit/ios/configurationitem/chat/[email protected]) | ||
<ImageGallery> | ||
<ImageItem src="/images/uikit/chatuikit/ios/message_types_1.png" title="UIActionSheet" /> | ||
<ImageItem src="/images/uikit/chatuikit/ios/message_types_2.png" title="类似微信样式" /> | ||
</ImageGallery> | ||
|
||
#### 设置附件消息相关的配置项 | ||
|
||
|
@@ -183,31 +180,28 @@ override func filterMessageActions(message: MessageEntity) -> [ActionSheetItemPr | |
} | ||
``` | ||
|
||
![img](/images/uikit/chatuikit/ios/configurationitem/chat/Appearance_chat_messageLongPressedActions.png) | ||
|
||
#### 设置类似微信样式 | ||
<ImageGallery> | ||
<ImageItem src="/images/uikit/chatuikit/ios/message_longpress_1.png" /> | ||
</ImageGallery> | ||
|
||
若实现消息长按后弹出类似微信样式的弹窗,可进行如下设置: | ||
1. 若实现消息长按后弹出类似微信样式的弹窗,可进行如下设置: | ||
|
||
```Swift | ||
Appearance.chat.messageLongPressMenuStyle = .withArrow | ||
``` | ||
|
||
效果图如下所示: | ||
|
||
![img](/images/uikit/chatuikit/ios/configurationitem/chat/[email protected]) | ||
|
||
#### 设置仿系统 UIActionSheet 样式 | ||
|
||
若实现消息长按后弹出仿系统 `UIActionSheet` 样式的弹窗,可进行如下设置: | ||
2. 若实现消息长按后弹出仿系统 `UIActionSheet` 样式的弹窗,可进行如下设置: | ||
|
||
```Swift | ||
Appearance.chat.messageLongPressMenuStyle = .actionSheet | ||
``` | ||
|
||
效果图如下所示: | ||
|
||
![img](/images/uikit/chatuikit/ios/configurationitem/chat/[email protected]) | ||
<ImageGallery> | ||
<ImageItem src="/images/uikit/chatuikit/ios/message_longpress_1.png" title="UIActionSheet" /> | ||
<ImageItem src="/images/uikit/chatuikit/ios/message_longpress_2.png" title="类似微信样式" /> | ||
</ImageGallery> | ||
|
||
## 设置聊天页面输入框 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters