mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-05-25 11:56:02 +08:00
Adding support for back button
This commit is contained in:
@@ -82,7 +82,8 @@ module ProMotion
|
||||
|
||||
self.navigationItem.leftBarButtonItem = button if side == :left
|
||||
self.navigationItem.rightBarButtonItem = button if side == :right
|
||||
|
||||
self.navigationItem.backBarButtonItem = button if side == :back
|
||||
|
||||
button
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user