private class HelloWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
} }
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceStat...
Hi,
I have a UIWebView which inside a UIScrollView (scrollview contain another component)
I tried to enable multitouch both on Interface Builder or Programmatic on UIWebView but it still cannot zoom for html, do I need to handle both zoom in at the UIScrollView and UIWebView? Or anything I haven't to set?
Thanks.
...
Hi All,
I am getting this error in webview while loading this url : http://www.thumbzine.com/rssfeed.php?vol=104
"Error Domain=WebKitErrorDomain Code=102 UserInfo=0xde6ce0 "Frame load interrupted""
[webView loadRequest:[NSURLRequest requestWithURL:
[NSURL URLWithString:@"thumbzine.com/rssfeed.php?vol=104"]]];
What is th...
I am able to successfully view a PDF from a website.
I want to be able to download that PDF to the device, then be able to access that file locally.
So the user opens the app, the app checks the online PDFs date and compares it to the date of the PDF store locally, if it is newer, then the new PDF is downloaded, if its not newer then i...
I want to inform user when HTTP error 404 etc is received. How can I detect that?
I've already tried to implement
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
but it is not called when I receive 404 error.
...
Hi all.
I've have a viewcontroller with multiple controls inside it, being one of them a UIWebView.
When the application first loads, the UIWebView shows a remote site index.html place. ( Fixed url ).
From there, the user should be able to navigate to wherever he wants inside the website ( no address bar ).
My problem is that, i need...
Hi,
I'm using UIWebView for show a simple HTML page. When I scroll the page (over the top or over the bottom) a shadow gray appears behind!!
Can I remove or avoid this bad effect?
Thx
P.S.
UIWebView, View container, are all background clear and opaque NO!!
...
I have a 320x416 portrait-shaped UIWebView filling a UIViewController's view. I also have a 90 degree rotate button that will transform the UIWebView through 90 degrees each time the button is touched. The code is basically:
webView.transform = CGAffineTransformMakeRotation(touches%4 * M_PI/2.0);
After rotation through 90 degrees, t...
Hi, I am trying since for a longer time to post parameters to Outlook Web Access 2007 (owaauth.dll) for signing on. But it refuses.
This is the way I am doing (which is already working within a delphi program):
NSString *strUsername = [[NSUserDefaults standardUserDefaults] stringForKey:@"mailUserName"];
NSString *strPassword = [[NSUser...
Newbie Question.
I have a UIWebView that I push HTML code into. In the HTML code is an image. Is there a way to get informed that image #3 or image with name 'bob' was touched ? Some event like 'didImageWasClickedAndHereIsTheIDOfTheClickedThingy' perhaps?
...
Hey guys,
This time, I was wondering when I was supposed to set my properties ...
I got a nav bar which I use to push a new controller (controlling a Web View) :
NewsViewController *webViewController = [[NewsViewController alloc] init]; // I create my controller
webViewController.urlText = @"http://www.google.fr"; // I set the prope...
I'm making an iPhone app in which the user can do gestures (left and right swipes) to flick through tabs. My problem is that some of the pages have views such as the pickerview, webview, textfields and buttons. The swipes don't work on these. Is there any way to have global gestures?
For reference, my gesture code example:
//Swipe betw...
When using NSURLRequest on the iPhone, what are the real world performance differences between the various NSURLRequestCachePolicy settings? I am specifically interested in the cache policy's effect on the the user's perception of the speed at which UIWebView pages display.
I have been using the default NSURLRequestCachePolicy but I th...
Hi
Is any idea, how to set zoom level of webview by programming ?
Thanks
...
I have some text which might or might not contain web URLs, phone numbers, email links etc. which UIWebView automatically detects as hotspots.
Question: I want to show this text in UIWebView ONLY when there are one or more hotspots, but as plain text if it doesn't. So how can I detect this in code?
Additional Info: JavaScript code belo...
I have viewcontrollers set up to track gestures and commit an action, in this case, change the tab. The code for the viewcontrollers is as follows:
#define HORIZ_SWIPE_DRAG_MIN 100
CGPoint mystartTouchPosition;
BOOL isProcessingListMove;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches any...
I need to extract the contents of the title tag from an HTML page displayed in a UIWebView. What is the most robust means of doing so?
I know I can do:
- (void)webViewDidFinishLoad:(UIWebView *)webView{
NSString *theTitle=[webView stringByEvaluatingJavaScriptFromString:@"document.title"];
}
However, that only works if javascript ...
I have a webview and I want to manually switch to another tab during a specific event. The event is arbitray, but I can't figure out hwo to switch teh tab. On my other views, I have the following code:
self.tabBarController.selectedViewController = [self.tabBarController.viewControllers objectAtIndex:2];
However, this does not work in...
Hi I am wondering if there is away to send the lat and long of a persons location to a URL? It would also need to have their UDID number to match with the database.
Here is what I have so far if anyone can help that would be great...
-(void)viewDidLoad {
NSString *query = [[NSString alloc] initWithFormat:
...
I am trying to get this Outlook Web Access demo account to load in an iPhone's UIWebView, and it does absolutely nothing... I don't even get an error code with the UIWebViewDelegate didfailLoadwithError method... here's the details:
URL: https://webmail.123Together.com/exchange/
Username: [email protected]
Password: test
I would like ...