Created
April 14, 2011 00:21
-
-
Save pmark/918699 to your computer and use it in GitHub Desktop.
How to properly attribute 3DAR on your app's HTML about page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In the web view's controller set the UIWebView's baseURL to the resource bundle path. | |
NSString *path = [[NSBundle mainBundle] bundlePath]; | |
NSURL *baseURL = [NSURL fileURLWithPath:path]; | |
[webView loadHTMLString:htmlString baseURL:baseURL]; | |
// Download this powered by image and put it in your app's resource bundle. | |
// https://spotmetrix.s3.amazonaws.com/3DAR/powered_by_3dar_310x50.png | |
// | |
// Display the powered by 3DAR image in the About page's HTML. | |
<img src="powered_by_3dar_310x50.png"/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment