문제

Does anyone know if ECSlidingViewController2 can be used with both a left and a right UIBarButtonItem at the same time? Each of the examples only show a single button used on the left of the navigation bar.

https://github.com/ECSlidingViewController/ECSlidingViewController

Thanks in advance!

EDIT:

For future reference, an example showing ECSlidingViewController2 using both a left and right UIBarButtonItem at the same time can now be found at:

https://github.com/ECSlidingViewController/ECSlidingViewController/tree/master/Examples/LayoutDemo

도움이 되었습니까?

해결책

Yes. The LayoutDemo had a left and right button.

다른 팁

ECSlidingViewController uses a pan gesture recognizer to slide view controllers. It should work with any combination of left and right bar button items.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top