【问题标题】:Share Kit, can't get keyboard up in twitter auth web view共享工具包,无法在 twitter auth web 视图中启动键盘
【发布时间】:2011-07-05 19:04:40
【问题描述】:

尝试使用共享工具包发送到twitter的链接,当webview出现登录twitter时,您可以点击用户名和密码字段,获得光标,但没有弹出键盘。

这真的让我感到沮丧。

这就是我尝试调用共享工具包的方式。 (来自警报)

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
if (alertView.tag == 21){
    if (buttonIndex == 1) {
        //call SHK
        NSLog(@"Calling SHK");


        // Create the item to share (in this example, a url)
        NSURL *url = [NSURL URLWithString:@"http://link.com"];
        SHKItem *item = [SHKItem URL:url title:[NSString stringWithFormat:@"I just played a %d by %d board on #GAMENAME and solved it in %d moves!", down, across, turns]];



        // Get the ShareKit action sheet
        [alertView dismissWithClickedButtonIndex:0 animated:NO];

        SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];

        // Display the action sheet
        [actionSheet showInView:self.view];



    }
}

【问题讨论】:

    标签: ios4 keyboard sharekit


    【解决方案1】:

    这是 UIResponder 的问题

    UIResponder Troubles

    【讨论】:

      猜你喜欢
      • 2014-04-28
      • 1970-01-01
      • 2012-01-25
      • 2022-07-17
      • 2015-12-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多