• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: WebView & Silverlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: WebView & Silverlight


  • Subject: Fwd: WebView & Silverlight
  • From: Folami Nguyen <email@hidden>
  • Date: Thu, 25 Jul 2013 08:04:08 +0700

2013/7/25 Alex Zavatone <email@hidden>

> I'm not sure if your application is for Mac OS, or iOS, but from the iOS
> side I've never seen any doc mentioning if a UIWebView would support
> SilverLight at all.
>
> With a good part of the dev site still recovering from last Thursday's
> event, here is one doc that I could find that shows some of the file
> formats that a UIWebView supports, however, it was last updated in 2009.
>
>
> http://developer.apple.com/library/ios/#qa/qa1630/_index.html#//apple_ref/doc/uid/DTS40008749
>
> In your UIWebView, can't you check to see the nature of what was clicked
> on in your click handling code?  You stated that you don't know which
> delegate it's going to.  Didn't you set the delegate for the UIWebView in
> your ViewController?
>
> If you're looking for the navigation type of what was clicked or tapped,
> it can be found within this delegate method below:
>
> #pragma mark - UIWebViewDelegate
> - (BOOL)webView:(UIWebView*)webView
> shouldStartLoadWithRequest:(NSURLRequest*)request
> navigationType:(UIWebViewNavigationType)navigationType {
>
> What is the navigationType when you click on a button in your silverlight
> app?
>
> For example, if a URL was clicked on in the UIWebView, you can start to
> check get some info about was clicked on like so:
>
>         if (navigationType == UIWebViewNavigationTypeLinkClicked) {
>                 NSURL *URL = [request URL];
>         //      NSLog(@"%@ ",  URL);
>         //      NSLog(@"%@ ",  URL.baseURL);
>         //      NSLog(@"%@ ",  URL.absoluteURL);
>         //      NSLog(@"%@ ",  URL.fragment);
>         //      NSLog(@"%@ ",  URL.lastPathComponent);
>                 NSLog(@"%@ ",  URL.pathExtension);
>
> Hope this points you in a good direction.
>
> Dear Mr.Zavatone,
Thanks you for your reply.
My problem is in MAC OS X but iOS.
Best regard.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: WebView & Silverlight
      • From: Jens Alfke <email@hidden>
References: 
 >WebView & Silverlight (From: Folami Nguyen <email@hidden>)
 >Re: WebView & Silverlight (From: Mike Abdullah <email@hidden>)
 >Re: WebView & Silverlight (From: Folami Nguyen <email@hidden>)
 >Re: WebView & Silverlight (From: Mike Abdullah <email@hidden>)
 >Re: WebView & Silverlight (From: Folami Nguyen <email@hidden>)
 >Re: WebView & Silverlight (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: NSTextView's MarkedText
  • Next by Date: Re: dev site down time is ridiculous
  • Previous by thread: Re: WebView & Silverlight
  • Next by thread: Re: WebView & Silverlight
  • Index(es):
    • Date
    • Thread