Hi all,
I am trying to load a html string as
NSString *htmlData = @"This is a <b> bold text </b> ";
[aWebView loadHTMLString:htmlData baseURL:nil];
but i am not getting the out as bold text. Its just displaying the output as bold text
What am i doing wrong ?
I guess this is a bug in WebView ,...
It turns out that if you load data into a UIWebView using loadHTMLString, that the webView will always return NO for canGoBack and canGoForward properties. Unfortunately, I have to extract fragments of text from a large file and then put that text into a webView with loadHTMLString.
[aWebView loadHTMLString:aString baseURL:nil];
In ...
I'm trying to catch when a user stops interacting with a UIWebView. I've added this code to my UIWebView, but it never seems to get called.
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
NSLog(@"Touches ended");
}
...
I have a UIWebView in my app and I am having trouble making it work correctly simultaneously with landscape and the viewport zoom.
If I load pages in portrait and then rotate the phone, using the autoresize, it works correctly, zooming in for pages that are set to zoom. However, if I start the webview in landscape mode, I have to rotat...
I display text and images in a UIWebView. Content isn't always the same. I access images within the content using the bundle path. For an inbetween versions update of content, I'd like to allows users the ability to download new content (text & images). This new content will also display in a UIWebView. The problem is I will have to...
Let's say I'm displaying a webpage inside of native iPhone app called FooBar using UIWebView. I then want to display the name of the Application (in this case FooBar) I'm running inside the webpage dynamically (Hello Foobar). Is there a way through JavaScript (or any other mechanism) to get the App Name from within the HTML?
To think ...
Hello,
in my app there's a uiwebview that loads a url..
i use the following line to save the HTML of the page loaded locally to be able to view it offline.
NSString* html=[webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"]
the problem is only the HTML of the document that gets saved, ...
Hello,
is there any way to get informed, when a UIWebview has loaded a new page?
The documentation doesn't list a delegate for this.In my case, I want to know, when UIWebview is done with navigation in iUI pages.
Best Regards,
Stefan
...
i want to Select text using gesture and highlite that text.i had done display html page in UIwebview but uiwebview does not fire touch begin event, So how can i do.
1) when user select text (i.e user select text "i Know uesr" that part of text color should be change.
if you have any idea below of the query,kindly suggest me..
Thank yo...
I am getting this error message in the console, while I am trying to load a HTML page in UIWebView?
"void SendDelegateMessage(NSInvocation*): delegate failed to return after waiting 10 seconds. main run loop mode: UITrackingRunLoopMode If you were not using the touch screen for this entire interval (which can prolong this wait), please ...
Hi there! Im using a UIWebView to access a website, when i rotate the phone (landscape) the UIWebView is properly resized and the scrollbar are on the right place (on the right edge...) but when i acess any of input fields to fill the information required and exit it the UIWebView scrollbar jumps to the middle of screen (looks like it ge...
Hi,
Can I download a PDF file and shows it without use UIWebView?
I need to show PDF and get full control of its show...
Also, Can I download and strore PDF into filesystem app?
Thx
...
Basically my app has a UIwebView which loads a php script with input of user data. The script then uses printf(some info). This all works and it prints it right the UIWebView. Basically what I want to do is get that text (its all thats on the page) and save it as a string. Heres what I have tried so far.
NSString *str = [webView stringB...
Hey Guys,
I am using 5 UIWebViews in a UIScrollView to show the result of my game. Intention is to allow the user to scroll through the results screen. I had a problem where the UIWebViews won't load when scrolled to the next page. This means the first page will load successfully however when you scroll to Page 2, you will see a white b...
I got a UITabBarController and one of the bar items is a Navigation Controller with some buttons on it.
One of the buttons opens up a urlRequest and load it in a UIWebView.
NSURL * url = [NSURL URLWithString:myUrl];
NSURLRequest * urlRequest = [NSURLRequest requestWithURL:url];
UIWebView * web = [tView wView];
[web setScalesPageToFit:YE...
I am creating a webview and loading content using "loadHTMLString" The content is loading I just can't get the links to work ex linking to google.com. Any help would be great.
UIWebView* newWeb = [[UIWebView alloc initWithFrame:CGRectMake(notificationPopUp.frame.origin.x+ 20,notificationPopUp.frame.origin.y-100,100, 100)];
//newWeb.bac...
Hi,
I try to display a simple webpage inside my UIWebView without a Nib. The problem is when I click on my buttun a new page blanck page appear but nothing is display.
Did I miss something?
- (void)loadView {
UIView *topView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
UIWebView *web = [[UIWebView alloc] in...
I am trying to access a secure website through UIWebView. When I access it through safari, i get an authentication challenge but the same does not appear in my UIWebView in the application. How can I make it appear?
Any pointers, sample code or links will be very helpful. Thanks a lot.
...
I am attempting to use a UIWebView to display some variable-size content, and I'd like to determine the full size of that content so that I can resize the UIWebView to fit the size of the content perfectly.
My attempts at determining the correct height and width of the content, however, haven't been completely straightforward. The follo...
Hi guys,
As we all know if I want to download an mp4 file a iphone's movie player (MPMoviePlayerController) pops out and plays the video. My question is if I can get some kind of a message that it pops out or perhaps even to prevent it from appearing?
Thanks
...