Whew.
I just found that my iPhone’s flashlight lets you control both brightness and FOCUS from the interface.
You can literally see the beam pattern change and now I need to know how it works.
I use the flashlight all the time, and have it mapped to the side button. I have had this phone for over a year.