MWPhotoBrowserSwift icon indicating copy to clipboard operation
MWPhotoBrowserSwift copied to clipboard

How change Done Button title?

Open ChStarfish opened this issue 9 years ago • 2 comments

browser.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Назад", style: .Plain, target: self, action: nil)

This method does not work, any ideas?

ChStarfish avatar Feb 14 '16 14:02 ChStarfish

In what function are you doing that? Try viewWillAppear. My port of the MWPhotoBrowser to Swift is not general purpose in any way. I have only tested that it works in my project. Anybody is free to use it, but I'm not able to provide much support or do any fixes.

tapz avatar Feb 14 '16 15:02 tapz

just in class, func showPhoto() i customize view and can't change title of Done button, sorry for this issues

ChStarfish avatar Feb 14 '16 16:02 ChStarfish