iPhone storage using iCloud
I have no more space on my phone do to pictures and want to delete them. I have iCloud set up so my photos upload to the cloud. I also have the optimize storage feature turned on. Since this is turned on can i delete the photos i no longer want on my phone so i can gain more storage? Will the photos that are deleted still be in iCloud?