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 3313762
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:09:11+00:00 2026-05-17T22:09:11+00:00

A client has an iOS app that makes fairly heavy use of UiWebViews (with

  • 0

A client has an iOS app that makes fairly heavy use of UiWebViews (with javascript running in them). About 50% of the logic and UI is done with WebViews, the rest is objective-c. He’s now interested in having the app ported to be a Mac app as well (because he thinks it would be good as a $2 app in the app store, when the store supports mac apps in a couple months).

Is it possible to do the things you can do in an iPhone app — such as embed the WebView, send a javascript string (stringByEvaluatingJavaScriptFromString), call back into objective-c code from javascript (shouldStartLoadWithRequest) — in a Mac app?

Can I even count on webkit being on every Mac?

The goal is to keep as much code identical between the Mac version and iPhone/iPad versions, of course. I don’t care if I have to use different APIs….I just want to make sure the basic functionality is there so we don’t have to start from scratch.

  • 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-17T22:09:12+00:00Added an answer on May 17, 2026 at 10:09 pm

    Is it possible to do the things you can do in an iPhone app — such as embed the WebView, send a javascript string (stringByEvaluatingJavaScriptFromString), call back into objective-c code from javascript (shouldStartLoadWithRequest) — in a Mac app?

    And more. The classes of the WebKit framework (it’s an entire separate public framework on the Mac) expose more of their guts to you than UIWebView does. You even get an Objective-C version of the DOM API.

    Can I even count on webkit being on every Mac?

    No. WebKit was introduced in Mac OS X 10.2.7. Any Macs running a version of Mac OS X older than Jaguar, a version of Jaguar older than 10.2.7 that hasn’t had Safari installed separately, or the classic Mac OS will not have it.

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

Sidebar

Related Questions

I have a Rails app that has 2 clients -- an iOS app reads/writes
I'm creating a basic blog app with rails/mongoid backend and an iOS client that
My client has a compiled ASP.NET 2.0 application that was compiled & deployed a
My client has a asp.net application, using ajax, he has a datagrid that shows
My client has PHP running on an IIS server, I know these vti_conf files
A client has asked me to reduce the complexity of Magento's …/template/checkout/cart/shipping.phtml so that
I have an app that can be accessed on mobile phones, both iOS and
Using my FB account I created an FB app for use by an iOS
My client has come up with a strange requirement. He wants the iOS application
A potential client has come to me asking for a an app which will

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.