【发布时间】:2014-10-11 22:09:51
【问题描述】:
你怎么样?
你能帮帮我吗
请问我如何在我的应用程序中添加按钮,他会转到 Instagram 应用程序并显示我的帐户页面?
像这样:
请帮帮我
【问题讨论】:
你怎么样?
你能帮帮我吗
请问我如何在我的应用程序中添加按钮,他会转到 Instagram 应用程序并显示我的帐户页面?
像这样:
请帮帮我
【问题讨论】:
我相信这就是您正在寻找的(不完全确定,因为您的问题描述性不是很强)。
NSURL *url = [NSURL URLWithString:@"instagram://user?username=USERNAME"];
if ([[UIApplication sharedApplication] url]) {
[[UIApplication sharedApplication] url];
} else {
// handle the issue
}
否则,请参阅 instagram api here。
【讨论】: