Retrieving row index from UIPickerView and using it in a if statement
问题 Again forgive me if im not being clear, I have only started iOS dev yesterday. So I have a application that is going to send information to specific email address. I have included a pickerview and populated it with an array of information, 5 or 6 different categories. What i want to do is to be able to change the recipient's of the email based on what category is selected in the pickerview. So far I have but selectedRowInComponent doesn't seem to work. - (IBAction)sendFinalItem:(UIButton *