A Pin for 1 Second high

I like to Control Pin 4 of My wemos d1 Mini.
The Pin schould Go high for 1 second when i press the Button in the iOS App.
The normal Button has Not that Funktion.
I dont know know how to start.

Timers… particularly a timeout timer will work

Thank you for your answer.
I found out, that a Button defiend as PUSH Workshop Welle for My Projekt.