Wednesday, 15 September 2010

ios - Is there a touch event for the Home button? -



ios - Is there a touch event for the Home button? -

iphone 6 , 6 plus comes reachability feature pull downwards screen. there api notify app when user double-taps home button?

when user double tap home button below method called appdelegate.

1) double tap home

-(void)applicationwillresignactive:(uiapplication *)application

when tap on app below method called

- (void)applicationdidbecomeactive:(uiapplication *)application

2) single tap below method called

1)- (void)applicationwillresignactive:(uiapplication *)application 2)- (void)applicationdidenterbackground:(uiapplication *)application

maybe help you.

ios iphone-6 iphone-6-plus

No comments:

Post a Comment