I have a webapp and the iOS app built in Swift. The thing is I don't know Swift and I'm trying to modify the iOS app in order to add the authorization key to the PubNub client before subscribing/publishing to channels. Link to PubNub docs
PRE:
- Access Manager is enabled
my_auth_keyis hardcoded and already enabled form the server for the corresponding channel I want to subscribe.
What's the correct way to set the auth key? Thanks in advance