Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm banging my brain against the wonderful lib xport that is cocos2d-x from the original cocos2d iOS library.

What I want to ask is how to open a web link in the safari browser? I don' know how to link the original objc code

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:]];

I have tried using the LUA engine, that is capable of executing shell commands, but I cannot find the safari app path to launch it.

Thanks, people.

share|improve this question

closed as off topic by Tetrad Mar 13 '12 at 16:24

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This probably belongs on StackOverflow. –  Jonathan Dickinson Mar 13 '12 at 12:53
    
I posted it there too, but why? –  MLProgrammer-CiM Mar 13 '12 at 13:07
    
It isn't really specific to game development - notice how you are not actually using cocos2d-x to open the page (in your attempt) but rather the base libraries. The likelyhood of it being due to cocos2d-x is very small. Please don't cross post between S/E sites either - the moderators will move your question to the S/E website with the correct area of expertise. –  Jonathan Dickinson Mar 13 '12 at 13:16
    
Exact duplicate of: stackoverflow.com/questions/9683083/… - which has been answered. I can't reflag the question. –  Jonathan Dickinson Mar 13 '12 at 13:18

Browse other questions tagged or ask your own question.