Description
I've been trying to set active textfield when flag button is pressed, all to no avail. Since shouldBeginEditing delegate is not accessed on pressing of button, there has to be another way of getting the active textfield, so as to know which textfield's flag would be set among many others on the page.
Solution
There has to be a way of getting or setting the activetextfield on pressing flag button, so as to know which textfield's flag would be set, among many others on the same page.