Skip to content

Commit 40c9a39

Browse files
Merge pull request #11 from Leah-Xia-Microsoft/feature/add-iOS-quickstart-doc-for-chat
Call out recommended minimum width and height for iOS chat
2 parents e8975c3 + 6120f81 commit 40c9a39

File tree

1 file changed

+3
-1
lines changed
  • articles/communication-services/quickstarts/ui-library/includes/get-started-chat

1 file changed

+3
-1
lines changed

articles/communication-services/quickstarts/ui-library/includes/get-started-chat/ios.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To initialize the composite:
6969

7070
1. Go to `ViewController`.
7171

72-
1. Add the following code to initialize your composite components for a chat. Replace `<USER_ID>` with user identifier. Replace `<USER_ACCESS_TOKEN>` with your access token. Replace `<ENDPOINT_URL>` with your endpoint URL. Replace `<THREAD_ID>` with your chat thread ID. Replace `<DISPLAY_NAME>` with your name. (The string length limit for `<DISPLAY_NAME>` is 256 characters).
72+
2. Add the following code to initialize your composite components for a chat. Replace `<USER_ID>` with user identifier. Replace `<USER_ACCESS_TOKEN>` with your access token. Replace `<ENDPOINT_URL>` with your endpoint URL. Replace `<THREAD_ID>` with your chat thread ID. Replace `<DISPLAY_NAME>` with your name. (The string length limit for `<DISPLAY_NAME>` is 256 characters).
7373

7474
```swift
7575
import UIKit
@@ -149,6 +149,8 @@ To initialize the composite:
149149
150150
```
151151

152+
3. If you choose to put chat view in a frame that is smaller than the screen size, the recommended minimum width is 250 and the recommended minimum height is 300.
153+
152154
## Run the code
153155

154156
To build and run your app on the iOS simulator, select **Product** > **Run** or use the (&#8984;-R) keyboard shortcut. Then, try out the chat experience on the simulator:

0 commit comments

Comments
 (0)