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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:54:59+00:00 2026-05-22T18:54:59+00:00

We are working on Objective C application for desktop Mac. We use WebView component

  • 0

We are working on Objective C application for desktop Mac.

We use WebView component to display HTML pages.

When the page is loaded from the local file system, Flash movies are not displayed on the page.
As it turned out the problem is not exactly about Flash.
Most WebView plugins are missing.

WebView plugins - local page is opened from the hard drive

When the page is loaded from the Internet, Flash is displayed properly and there are many plugins available.

WebView plugins - page is opened from the web

The problem does not occur on my Mac, but it happens to 30% of our customers.
It is reproduced on MacBook (not MacBook air), Mac OS version is 10.5.8.

Guys, please help us, I have no idea how to tackle this.
This is the only obstacle preventing us from the product release.

Why WebView plugins are not available when a local page is loaded?

What can be the source of the problem – Safari configuration, Mac security settings, some software installed?

How can I reproduce the problem on my Mac?

This is our WebView initialization code for local page loading.

IBOutlet WebView* webView;
...

[[webView preferences] setPlugInsEnabled:YES];    
WebFrame *mainFrame = [webView mainFrame];

NSString* path = [NSString stringWithFormat:@"%@/page.html",[[NSBundle mainBundle] resourcePath]];
NSURL* url = [NSURL fileURLWithPath:path];  

NSURLRequest *request = [NSURLRequest requestWithURL:url];
   [mainFrame loadRequest:request];

Have you noticed any flaws?

UPDATE 1

Test application

Source code

UPDATE 2

Minimal test, I have left only the code necessary to open the local page.
No diagnostic window displayed.
Test application, simple

Full source code for Application Delegate of the simple test

#import "WebViewAppDelegate.h"

#import <WebKit/WebView.h>
#import <WebKit/WebFrame.h>

@implementation WebViewAppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    [[webView preferences] setPlugInsEnabled:YES];

    WebFrame *mainFrame = [webView mainFrame];
    NSString* path = [NSString stringWithFormat:@"%@/page.html",[[NSBundle mainBundle] resourcePath]];
    NSURL* url = [NSURL fileURLWithPath:path];  

    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [mainFrame loadRequest:request];

}

@end
  • 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-22T18:54:59+00:00Added an answer on May 22, 2026 at 6:54 pm

    ok,

    running v2 from the download failed, I still got the plugins alert and no crab

    so I rebuilt the xcode project and included 10.5 as a target, then manually moved the html and swf into contents and it reports all the safari plugins and runs on 10.5.8

    so although your plist says 10.5 [min] your sdk target was/is 10.6, so it won’t run on 10.5

    john

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

Sidebar

Related Questions

I am currently working on an iPhone 2.1 application. I am new to Objective
I'm learning objective-c, working through Aaron Hillegass' book Cocoa Programming for Mac OS X
I've got an Objective-C/cocoa based application that I'm working on. This app is client<->server.
I'm working on a new feature for my Mac application and it has to
I've got a simple Core Data application that I'm working on to display my
I have two pages, the parent and from this page I am using: window.open('OrderDetailsFull.aspx?ObjectID='
I'm working with Objective-C and I need to add int's from a NSArray to
I am working on an application (Cocoa/Objective-c) where I have the blueprint of each
How to split a string in objective-C? I am working on an short application
I'm interested in working with Lucene from a Cocoa application. I'm aware that there

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.