quickblox - binary operator |= cannot be applied to two AVAudioSessionCategoryOptions operands -
error on binary operator |= cannot applied 2 avaudiosessioncategoryoptions operands in swift 3.1. need help
here code
qbrtcaudiosession.instance().initialize { (configuration: qbrtcaudiosessionconfiguration) in configuration.categoryoptions != avaudiosessioncategoryoptions.allowbluetooth }
here solution found
qbrtcaudiosession.instance().initialize { (configuration: qbrtcaudiosessionconfiguration) in configuration.categoryoptions = [configuration.categoryoptions, avaudiosessioncategoryoptions.allowbluetooth] }
Comments
Post a Comment