0
iPhone-coder posted
how to change the title of the edit button in swift
Hiright navigation bar have edit button
i have created edit button using
let editButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Edit, target: self, action: #selector(PViewController.didTapEditButton))
self.navigationItem.rightBarButtonItem = editButton
i want to know how to change the tile of edit button to \"any text\"