ios4 - UISegmentedControl from AppDelegate -


i have uisegmentedcontrol need access selected segment in app delegate. have tried wire ibaction of value changed app delegate crashes. need current selected state when changed.

please refer following link http://derekneely.com/2009/11/iphone-development-global-variables/ keep common object , store value in can in delegate function.


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 -