I've been looking around to find a solution to this, but can't seem to find one that works for me. How to do two actions for one UIButton in iOS Objective C.
My app contain "login user" and "guest user".
- If login user comes in
UITableView
enquiry button navigate to one controller. - If "guest user" comes in
UITableView
enquiry button navigate to another controller