I've never seen that. The only way to rule out hardware is to perform user troubleshooting. First step is a restart. Power the phone off/on. If it returns, then a reset. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot. If it returns, make a backup of the phone and restore the phone to that backup. If after that, it still returns, then make a backup of the phone, however this time restore the phone as new, not from the backup. Do not add any additional content to the device and see if it returns. If it does, then you have a hardware issue and you need to make an appointment at the nearest Apple Store or your Authorized Apple Service provider. The restart, reset and restore from backup will not affect your data. However, a restore as new will delete all data from the device. Make sure everything is synced to a supported application to recover and import your photos and other data.