ios - Why system UIButton don't animate when it is near Navigation controller space (left) -
why happened when click @ button near left side of view controller ?
i suspect because of presence of navigation controller, i'm not sure.
could make button animate though click @ space ?
i suspect because of uinavigationcontroller
's interactivepopgesturerecognizer
interfering touch events of button.
try adding code in view controller:
self.navigationcontroller.interactivepopgesturerecognizer.cancelstouchesinview = no; self.navigationcontroller.interactivepopgesturerecognizer.delaystouchesbegan = no; self.navigationcontroller.interactivepopgesturerecognizer.delaystouchesended = no;
bluesm's edit:
it looks
self.navigationcontroller.interactivepopgesturerecognizer.delaystouchesbegan = no;
is sufficient bring "alpha" animation system's uibuttton of ios 7.
Comments
Post a Comment