iOS Question WebView error

Discussion in 'iOS Questions' started by hanyelmehy, Feb 10, 2015.

  1. hanyelmehy

    hanyelmehy Active Member Licensed User

    When try to make WebView load url that include non English characters ,i get this error
    *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
    on of the solution for ios ,its need to use percent-encoding in the URLs to make things work
    any idea how to do that ,or how to solve above problem
  2. moster67

    moster67 Expert Licensed User

    perhaps use the iStringUtils library and its EncodeURL-method?
    hanyelmehy likes this.
  3. hanyelmehy

    hanyelmehy Active Member Licensed User

    iStringUtils work ,thank you
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice