Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のiPhoneアプリでは、次の関数呼び出しを使用して特定の番号に電話をかけ、ネイティブのiPhone通話アプリを使用すると、ボタンが表示されます。
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:call_url]]; ここで、call_url の形式は tel:// です。
通話が終了したら、iPhone アプリを通話前の状態に復元して開く方法はありますか?
いいえ、あなたのプロセスは終了しました。アプリを再度起動するには、ユーザーに依存する必要があり、自分で状態を復元する必要があります。