iOS 12 includes many interesting news that Apple was responsible for showing us in its presentation during WWDC 2018 last June, but It also includes some hidden 'Easter eggs', and one of them is a Weather app widget displayed only under certain circumstances.
Although it is easily unlockable you have to comply very simple requirements so that every morning your iPhone gives you a good morning with the weather forecast on your lock screen. We show you step by step how to get it.
This is a widget that only appears when a "Do Not Disturb" period has ended with "Sleep Mode" active. If these requirements are met, the iPhone greets you with a "Good morning" accompanied by the weather forecast for that day and the current weather. Considering how contrary Apple has always been to adding widgets to its lock screen, It is surprising that this function is there and even more so that they are so hidden from the user. It is not an option that you must activate, but rather a series of configurations that you must make so that, only if you meet all the requirements, it appears when you get up.

The first requirement is that the Weather application has access to the location at all times. To verify that this is the case, you must access the menu «Privacy> Location> Time» and make sure that the option «Always» whatever is marked. Once this is done we can go to the next step.

We must activate the "Do not disturb" mode for it to work, program it during the night and activate the "Sleep Mode". With these options active, from the time we have configured we will not be bothered with notifications, and we will not see them on the lock screen even if it is turned on. Instead we will see a banner indicating that Do Not Disturb mode is active. Just when that Do Not Disturb mode has ended, the weather widget will then appear saying good morning and with the prediction for today. You can take the test at any time just by activating Do Not Disturb mode to finish in a minute, and you'll see the widget right when it's done.