iphone - Set 2 actions for UIBarButtonItem -


is possible register 2 actions uibarbuttonitem?

specifically, referring "cancel" uibarbuttonitem present in abpersonviewcontroller. button has default action behind it, don't want change, add new action when button pressed.

any ideas on how done?

thanks!

i removed previous answer had misunderstood question. not sure if app needs approved apple b/c not sure can pointer cancel button in "legal" way i'll assume can @ button.

when first present person view controller can it's default target , action target , action properties , save them. set them custom target , action. when custom action called, send default action default target , whatever custom behavior is.

that's best idea have, hope works!


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -