So, if you are also looking for a way to be able to download YouTube videos and view them in the default Photos app of your iPhone, here is a workaround that might help.
To do this, we will use a Shortcut called Social Media Downloader (SMD) created by a third-party developer that allows users to download YouTube videos like a normal video file. Thankfully, iOS also allows users to install third-party Shortcuts.
Also read: How to download videos from YouTube on Android
To do this, head to Settings and then tap on the Shortcuts option. Here turn on the toggle in front of Allow Untrusted Shortcuts. Allow the prompt and confirm by entering your device passcode.
Once done, download SMD from the internet and install it on your phone. After this, you will be able to see it under the Shortcuts app. Now, follow the steps below to download the video.
Head to YouTube app and open the video you want to download
Now, tap on Share button and select SMD option from More options to initiate the process
After initiating the process, SMD will ask to choose the desired resolution for the video, select it. After this, it will ask for some permissions, tap Ok if you are comfortable with the app sending some data to some server, which by the way is necessary for the SMD Shortcut to work.
Once all the permissions are granted, a new popup will appear asking to Save and Open in options. Choose Open in option here and open the video in default player. Here, tap on the Share button from the top right corner and here tap on Save Video option. You can also choose the Save to Files option if you want.