SelectAll on a textfield in ios

I am trying to select all on a textfield in ios but its not part of the standard functions? Any insights will be helpful.

Thanks