ios - NSWidgetExtensionContext openURL Swift -
i have been attempting implement button open ios app widget. realize issue has been beaten death on forums cannot find explanation specific error receiving. perhaps of more experienced ios developers can shed light on this.
i developing update 1 of ios apps ios 10 using xcode 8.1 , swift 2.
url scheme added widget's info.plist:
the runtime error receive when pressing openapp button:
appwidget[11872:3577323] __55-[_ncwidgetextensioncontext openurl:completionhandler:]_block_invoke failed: error domain=nsosstatuserrordomain code=-10814 "(null)"
// note: app name has been substituted appropriate generics.
i find os status lookup site pretty useful infer details errors. os error code -10814
klsapplicationnotfounderr
, describes scenario when:
no application in launch services database matches input criteria.
it sounds application has not been registered system consumer of url scheme using. have double-double (double!) checked bundle identifier , url scheme match? have verified app can launched url safari?
Comments
Post a Comment