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 ?

http://youtu.be/cdo22bgp-eg

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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -