You should write this statement in different way.
use following line
let panGestureRecognizer = UIPanGestureRecognizer(target: self,
action: #selector(ViewController.handleTap(_:)))
instead of
let panGestureRecognizer = UIPanGestureRecognizer(target: self,
action: Selector(("handleTap:")))
New Way
let panGestureRecognizer = UIPanGestureRecognizer(target: self,
action: #selector(YourViewController.handleTap(_:)))