Hello Danielle,
Thanks for using Apple Support Communities.
From your post I see that your screen is not responding to touch. You said that were were able to restart your iPhone, do did it respond then when you had to swipe to shut down? If you were unable to restart, then the other option is to reset the iPhone. For exact troubleshooting steps for this issue, please see the information below.
Make sure your hands are clean and dry, then try these steps:
- If you have a case or screen protector on your device, try removing it.
- Clean the screen with a soft, slightly damp, lint-free cloth.
- Unplug your device.
- Restart your device. If you can't restart, reset your device.
If your touchscreen still doesn't respond like it should, contact Apple Support or take your device to an Apple Retail Store or Apple Authorized Service Provider.
If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
Have a good one,
Alex H.