You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/ui-library/includes/get-started-chat/ios.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ To initialize the composite:
69
69
70
70
1. Go to `ViewController`.
71
71
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).
73
73
74
74
```swift
75
75
import UIKit
@@ -149,6 +149,8 @@ To initialize the composite:
149
149
150
150
```
151
151
152
+
3. If you choose to put chat view in a frame that is smaller than the screen size, the recommended minimum width is 250and the recommended minimum height is 300.
153
+
152
154
## Run the code
153
155
154
156
To build and run your app on the iOS simulator, select**Product**>**Run**or use the (⌘-R) keyboard shortcut. Then, try out the chat experience on the simulator:
0 commit comments