返回列表 回復 發帖

在程序中關閉iPhone

首先在程序中引用

#include <sys/reboot.h>

然後使用

reboot(RB_HALT);

就可以直接將iPhone關機。
返回列表