You can't turn off the proximity sensor on your iPhone, but if it's malfunctioning, try force-restarting your iPhone and cleaning around the sensor.
If your iPhone camera won't work, you may be able to easily solve it. Here are some quick fixes to try before contacting Apple.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果