Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Mac OS X Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-16-2009, 09:58 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 7
Exclamation WEBVIEW open pages in default browser

Hi I have an urgent problem, can someone tell me how to make the webview open links in the default browser window

Itīs really urgent Iīve tried several ways but I canīt find the way to do this.

Could some one give me a detailed tutorial on this please?

Thanks in advance
ledavid71 is offline   Reply With Quote
Old 12-17-2009, 05:03 AM   #2 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 14
Default

Have a look at the openURL method of NSWorkspace: Mac Dev Center: NSWorkspace Class Reference

You just have to detect somehow if a link was clicked and which link was clicked. I don't know if there is a desktop counterpart to the webView:shouldStartLoadWithRequest:navigationType: delegate method of UIWebView in the iPhone SDK

Last edited by Daniel S.; 12-17-2009 at 05:10 AM.
Daniel S. is offline   Reply With Quote
Reply

Bookmarks

Tags
web view links

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,765
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:23 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0