Closed rermolov closed 10 years ago
Could you push that example up so I could help debug it?
You can download it here: https://mega.co.nz/#!6AVgmLST!RfwCfU6fUpeMtlQVtlPl4XHn54wObT3Q8v4OxpvgYrY
In the example you posted, I am able to drag close the center using the yellow bar in Landscape. Am I misunderstanding your issue?
Hello! I am using MMDrawerController without UINavigationBar in landscape mode. Controller has center view and right drawer. openDrawerGestureModeMask setted to MMOpenDrawerGestureModeAll, closeDrawerGestureModeMask setted to MMCloseDrawerGestureModeAll. When I am trying to slide from point in center or bottom, it works properly. But when i am trying to slide from point on top, nothing happened.
I create test app to demonstrate this problem (https://mega.co.nz/#!6AVgmLST!RfwCfU6fUpeMtlQVtlPl4XHn54wObT3Q8v4OxpvgYrY)
If i am trying to slide from point on green view:
If i am trying to slide from point on yellow view, nothing happened:
I found cause of problem (MMDrawerController.m, panGestureCallBack): CGPoint translatedPoint = [panGesture translationInView:self.centerContainerView];
translatedPoint is zero, when i am trying to slide from point on top and non-zero on center and bottom.
Any ideas?