Photoswitchable Nanocarrier with Reversible Encapsulation Properties.