ios - How to launch containing app from custom keyboard extension? -
ios - How to launch containing app from custom keyboard extension? -
i saw posts question, still don't it.
i set urlidentifier containing app - kbrdapp. if containing app launches returns flag '1' means 'ready'.
this code custom keyboard extension called viewdidload:
uiwebview * webview = [[uiwebview alloc] initwithframe:cgrectmake(0, 0, 100, 100)]; nsstring *customurl = @"kbrdapp://"; nsurlrequest *request = [[nsurlrequest alloc] initwithurl:[nsurl urlwithstring:customurl]]; [webview loadrequest:request];
i have read nsextensioncontext works today extension, tried uiwebview. doesn't work.
what wrong?
ios ios-app-extension custom-keyboard
Comments
Post a Comment