开发者

Creating An In-Game Web Browser on iPhone

开发者 https://www.devze.com 2023-02-05 04:10 出处:网络
In my game, I\'d like to have a kinda of \"message of the day\" feature. Basically, when I hit the \"message of the day\" button in themain menu, it would open up a browser view in-game. When the user

In my game, I'd like to have a kinda of "message of the day" feature. Basically, when I hit the "message of the day" button in themain menu, it would open up a browser view in-game. When the user is done, he taps a "close" button and the view disappears, returning him to 开发者_开发知识库the game menu.

So, is it possible to dynamically create a browser view? If yes, how?


Sounds like a job for UIWebView :-)

http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIWebView_Class/Reference/Reference.html

0

精彩评论

暂无评论...
验证码 换一张
取 消