Learn Lua for iOS Game Development by Jayant Varma

Learn Lua for iOS Game Development by Jayant Varma

Author:Jayant Varma [Varma, Jayant]
Language: eng
Format: epub, pdf
ISBN: 9781430246626
Publisher: Apress
Published: 2012-12-17T15:31:33+00:00


The Internet Browser

In the earlier days, when the only way to make apps for iOS was using Objective-C, many people tried to place apps in HTML wrappers (UIWebView). They had a web browser wrapped inside of the application. This helped them cheat (in a way) to allow for templates and books, and thereby helped them make apps that were not native apps, but were not straightforward browsers either.

There are two functions that involve the process of displaying and removing the webview from the screen: native.showWebPopup and the native.cancelWebPopup. cancelWebPopup does not take any parameters, as there can only be one webPopup at any point in time. You can also use this to display a website as seen in Figure 8-19 or as a help file in your app, as shown in Figure 8-20



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.