Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5841393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:53:05+00:00 2026-05-22T11:53:05+00:00

I am designing an app which has a number of native widgets and some

  • 0

I am designing an app which has a number of native widgets and some widgets in webviews. Now i need to unify the event handling for the web based widgets and the native widgets. So i need to get back the events from the webview based widgets to the native code. Is this possible?

An example: a button is present in the webview. When this button is pressed I need to call a method in the native code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:53:06+00:00Added an answer on May 22, 2026 at 11:53 am

    Yes: what you do is you have the HTML buttons point to special URLs that you intercept in the web view delegate’s webView:shouldStartLoadWithRequest:navigationType: method. A good way to construct these URLs is to use a special URL scheme, e.g. x-myapp://do-foo/params.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing some web app, I went for some _layout.cshtml, which fragment: //some html
I am designing a web app that has some information that needs to be
I am designing a restaurant based app which has lots of images. Please tell
I am designing a simple model in Django(1.3) which has 3 fields and some
We're designing an Android app that has several activities which are working in a
I'm designing a web app which will be used on an intranet so Windows
i am designing a simple android app,which has a check box displayed in the
I am designing an app which tracks data on Game objects. Each Game has
I'm designing a simple web app for some elderly family members, 1 of whom
I am designing an app which will present large amounts of text that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.