Revealing the electronic structure of iridates with light and how it can be controlled through epitaxy