i wish that on button click it will switch screen in story board and also trigger function. But the problem is if the button have segue and function only the segue triggered but the function don`t, if i remove the segue the function work OK. Here is my print screen for better understanding, on the right you can see function and action triggers.
i wish that on button click it will switch screen in story board and
Share
Simply call your function from
prepareForSegue:.