I am building my first iOS app, so still learning how things are done in this environment.
I am using IOS 5.1.1 and Xcode 4.3.3. The application uses Sortyboards.
The main screen contains a single button which when pressed will show a series of buttons in a UIActionSheet.
Based on what button the end-user selects, I would like this to link to an additional View Controller and show another view.
As the UIActionSheet is not a GUI Control that can be dragged from the Object library, it must be added using code.
The question is: How do I programmatically connect these buttons in the ActionSheet to a View Controller as if I was to do with a control-drag method?
Pete
I am using IOS 5.1.1 and Xcode 4.3.3. The application uses Sortyboards.
The main screen contains a single button which when pressed will show a series of buttons in a UIActionSheet.
Based on what button the end-user selects, I would like this to link to an additional View Controller and show another view.
As the UIActionSheet is not a GUI Control that can be dragged from the Object library, it must be added using code.
The question is: How do I programmatically connect these buttons in the ActionSheet to a View Controller as if I was to do with a control-drag method?
Pete