remove back button title swift code example
Example 1: remove title only back button swift
navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
Example 2: remove back button swift
self.navigationItem.setHidesBackButton(true, animated: true);