mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-15 09:03:05 +00:00
update
This commit is contained in:
@@ -18,7 +18,7 @@ class DemoController: ChatController {
|
||||
}
|
||||
|
||||
override func onClientId(_ clientId: String) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
override func onSendRate(_ data: NSDictionary) {
|
||||
|
||||
@@ -15,8 +15,10 @@ class ViewController: UIViewController {
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
}
|
||||
@IBAction func openChat(_ sender: Any) {
|
||||
let chatController = storyboard?.instantiateViewController(withIdentifier: "DemoChatController") as! DemoController
|
||||
navigationController?.pushViewController(chatController, animated: true)
|
||||
// let chatController = storyboard?.instantiateViewController(withIdentifier: "DemoChatController") as! DemoController
|
||||
let chatController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "DemoChatController") as! DemoController
|
||||
// navigationController?.pushViewController(chatController, animated: true)
|
||||
navigationController?.present(chatController, animated: true, completion: nil)
|
||||
}
|
||||
|
||||
override func didReceiveMemoryWarning() {
|
||||
|
||||
Reference in New Issue
Block a user