Open atulagrawal18 opened 8 years ago
The condition to check if the session is running or not inside stopScan method is as follows:
if !session.running { print("the capture session is running") return }
Instead it should be
if session.running { print("the capture session is running") return }
The only change is to remove ! before session.running in the if condition.
Oh, Thx!
I'd modified
The condition to check if the session is running or not inside stopScan method is as follows:
if !session.running { print("the capture session is running") return }
Instead it should be
if session.running { print("the capture session is running") return }
The only change is to remove ! before session.running in the if condition.