...
|
...
|
@@ -34,9 +34,9 @@ |
|
|
|
|
|
self.view.backgroundColor = [UIColor darkGrayColor];
|
|
|
|
|
|
[self.view addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissModalViewControllerAnimated:)]];
|
|
|
[self.view addGestureRecognizer:[[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissModalViewControllerAnimated:)] autorelease]];
|
|
|
|
|
|
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, self.view.bounds.size.height - 70, self.view.bounds.size.width, 60)];
|
|
|
UIWebView *webView = [[[UIWebView alloc] initWithFrame:CGRectMake(0, self.view.bounds.size.height - 70, self.view.bounds.size.width, 60)] autorelease];
|
|
|
|
|
|
webView.delegate = self;
|
|
|
|
...
|
...
|
@@ -45,6 +45,17 @@ |
|
|
webView.backgroundColor = [UIColor clearColor];
|
|
|
webView.opaque = NO;
|
|
|
|
|
|
if ([webView respondsToSelector:@selector(scrollView) ])
|
|
|
{
|
|
|
webView.scrollView.bounces = NO;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
for (id subview in webView.subviews)
|
|
|
if ([[subview class] isSubclassOfClass:[UIScrollView class]])
|
|
|
((UIScrollView *)subview).bounces = NO;
|
|
|
}
|
|
|
|
|
|
NSMutableString *attribution = [NSMutableString string];
|
|
|
|
|
|
for (id <RMTileSource>tileSource in mapView.tileSources)
|
...
|
...
|
|