Advertise here

Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How get code in viewDidLoad to act like a button click on RadioButton?

Steve42Steve42 Posts: 1New Users Noob
Overview, I have 3 radiobuttons( 1-Goat, 2-Horse, 3-Cow).I read data from file for one person. If person had selected "Horse", I want the radiobutton to be selected.
All 3 radiobuttons call

How can I call radiobuttonselected, from viewDidLoad, and pass it a "2" so that the "Horse" will be selected?
I'm new to ios. Code sample would be great.


Sign In or Register to comment.