Launch Apple Mail App from within my own App?

后端 未结 15 2278
心在旅途
心在旅途 2020-11-29 01:59

What I already found is

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"mailto:\"]];

But I just want to open the Mail ap

15条回答
  •  遥遥无期
    2020-11-29 02:13

    Since the only way to launch other applications is by using their URL schemes, the only way to open mail is by using the mailto: scheme. Which, unfortunately for your case, will always open the compose view.

提交回复
热议问题