【问题标题】:How I Add Button Go To The Instagram? [duplicate]如何将按钮添加到 Instagram? [复制]
【发布时间】:2014-10-11 22:09:51
【问题描述】:

你怎么样?

你能帮帮我吗

请问我如何在我的应用程序中添加按钮,他会转到 Instagram 应用程序并显示我的帐户页面?

像这样:

请帮帮我

【问题讨论】:

    标签: ios xcode


    【解决方案1】:

    我相信这就是您正在寻找的(不完全确定,因为您的问题描述性不是很强)。

    NSURL *url = [NSURL URLWithString:@"instagram://user?username=USERNAME"];
    if ([[UIApplication sharedApplication] url]) {
        [[UIApplication sharedApplication] url];
    } else {
    // handle the issue
    }
    

    否则,请参阅 instagram api here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-12
      • 1970-01-01
      相关资源
      最近更新 更多