google.com, pub-2203413632152319, DIRECT, f08c47fec0942fa0
Simple way to return back/previous view controller by presented or pushed in iOS Swift. case 1 : using with Navigation controller self . navigationController ?. popViewController ( animated : true ) case 2 : using with present view controller self . dismiss ( animated : true , completion : nil )