Closed Mahesh160393 closed 3 years ago
Since I am just in a random Browser Session, looking for Alternative xmpp Frameworks, I don’t know the insides but...
You are blocking your UI Thread with the wait Operation. So your app wont finnish the drawing. You should do the connection and waiting in a dispatchqueue other than the ui queue.
@pixelskull Thank you reply. This issue is resolved.
Hello @mremond
Installed pod 'XMPP' in my project And added the following code in the viewDidAppear().
After this my app remaining functionality not working. Like bottom tab bar. If I removed the following line everything is working fine.
_ = semaphore.wait(timeout: DispatchTime.distantFuture)
Maybe I'm doing something wrong. can you check once.
Thank You