Show keyboard in contenteditable UIWebView programmatically

前端 未结 4 981
盖世英雄少女心
盖世英雄少女心 2020-12-30 15:29

My UIWebView loads a contenteditable html content. I want to let the UIWebView get focused and show keyboard in the UIWebView.

I use [self.webview becomeFirstR

4条回答
  •  灰色年华
    2020-12-30 15:58

    need set "Visible at Launch" checkbox in you window object - keyboard will show automaticaly on input field

提交回复
热议问题