Shots into the sun can be a challenge, particularly with the more recent iPhones and their sapphire lens covers, which cause a lot of flare with shots incorporating a bright light source. Using sunblocks is one solution. When an object is available that can be used to block, or at least partially block, the sun, the resulting image can have better contrast and detail, as well as reduced artifacting. A convenient tree is the most common choice, and classic, especially with a palm tree. But using foliage at a corner of the image can get good results in a less obvious manner, as can other image elements. Even sunset shots can benefit from sunblocking, as the last of these images shows. So remember your sunblock!
C. David Tobie