Hi,
I have HTML string which is created using an xml file by a third party library. The HTML string contains custom URLs for images and videos (Ex:image://). Is there is way by I can handle these resource load request and load them correctly in UIWebView?
...
I haven't been able to find any sort UIBarButtonSystemItem representing tha "Back" button in Mobile Safari. I want my UIWebView's controls to look just like the ones in Mobile Safari so it makes sense. Would the best solution be to just screenshot UIBarButtonSystemItemPlay (same image as the Forward button) and flip it?
Thanks.
...
Is it possible to run a slideshow in UIWebview control on iPhone? When I open picasa on my UIWebview it does not show the top bar with slideshow button, as it shows in Safari.
Please help.
...
Hi, there is something strange in my code. I'm sure to forget something but i don't know what. I try to handle phone, sms mailto and http links in an UIWebView.
This is how i try :
1/ instantiate the UIWebView :
webview = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,460)];
webview.opaque = NO;
webview.backgroundColor = [UIColo...
I use IUWebView like chat window and after adding new message in the bottom of view I wanna scroll down view programmicaly, how can I do it?
...
Hi guys,
I'm using interface building to put a UiWebView inside a View on a main window. From javascript I call out to objective C where I display the native contact picker widget, something like this:
ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];
picker.peoplePickerDelegate = self;
[...
Hi everyone,
Greetings! Can anyone please kindly assist me finding a way around the following:
load an html into a UIWebView using loadHTMLString and include(using baseURL) the resources such as the CSS, image files from folders within user's Documents directory - and not from the MainBundle of the application.
I have seen tutorial...
It is possible to use JavaScript to set the pixel y-offset of a UIWebView, e.g.:
[webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"scrollTo(0, %d)", offset]];
So is there a way to get:
The pixel height of an individual page of a PDF within the web view?
The size of the gap between pages?
Is this informat...
I have a navigation-based application with 2 UIViewControllers (controller-2 is pushed onto controller-1 when the user selects a particular row within a UITableView displayed using controller-1).
Here's the 'twist'… When controller-1 is loaded, I want to "prefetch" a URL containing HTML/javascript into a UIWebView. Initially, the user ...
Greetings!
Please kindly give me some advice on the following requirement:
To select a text from a page loaded on a UIWebView
To trigger the Copy function using another button instead of the standard Copy from the UIMenuController
What I would like achieve is basically the storing of the highlighted/selected text into a persistence....
Aim: to parse(remove tags, images) html in UIWebView(Controller A) into text in UITextView(Controller B). I'm transmitting html data through appDelegate's NSString* variable;
Trouble:
When i'm pushing B-Controller, the device freezes for a 4-6 sec's(parsing). It's OK, but i need to warn user about this delay. I've been using UIActivityIn...
I have a UIWebView in my app that shows some html-formatted text (loaded from a .plist file from my bundle). The UIWebView takes about 1 second to render the text on the screen and during that second the whole UIWebView is white. I have tried setting the backgronud color of the view to clear or black but that did not do anything. I also ...
Using the Apple's PageControl sample code I've managed to put several UIWebViews side-by-side, and I'm able to swipe left and right in order to get to each web view.
I can also scroll up/down to scroll within each web view. However, I have to move my finger very precisely along the y-axis to get the webview to scroll up/down - otherwise...
Greetings,
Please kindly advice on how possibly I can get the selected text on UIWebVIew.
I went on to search on how to deal with selected/highlighted text and found the following:
Selection and Menu Management
To copy or cut something in a view,
that “something” must be selected. It
can be a range of text, an image, a
URL, ...
I want to view a local PDF (in my iPhone app) and be able to jump to a specific page. Seems like the UIWebView is the way to go, however, I can't find any information on jumping to specific pages. Is this impossible? Are there any other techniques I can use?
thanks,
Howie
...
I use UIWebView to display many type of file on iPhone.
Everything look good except with a PowerPoint file. After the PPT is displayed, there are many Leaks are shown.
When I clicked on 1 of leaks, I got this:
Responsible Library: Foundation and
Responsible Caller: -[NSCFString
appendFormat:]
Does anyone met this problem befor...
I have an app that contains a UIWebView. I would like the user to be able to view webpages they've previously navigated to when off line. How should I go about making this work?
Thanks!
...
I have a Navigation Controller app and i'm using this code to switch views:
- (IBAction)switchPage:(id)sender
{
if(self.fourthViewController == nil)
{
FourthViewController *fourthView = [[FourthViewController alloc]
initWithNibName:@"FourthView" bundle:[NSBundle mainBu...
I'm displaying some HTML with links in a UIWebView. I want the links to open in Safari after the user confirmed that the link should really be opened.
Opening the link works fine, but if the user cancels, the link remains selected and is highlighted in blue. How can I deselect the link and get rid of the highlighting?
- (BOOL)webView:(...
I have a UIwebview that I want to go to Amazon.com, when I load amazon.com it doesn't have the same format as if I went there from iphone safari. What tell a website like amamzon to redraw for iphone? Here's my Code:
- (void)viewDidLoad {
NSString *urlAddress = @"http://www.amazon.com/Inventive-Gadgets-Inc-PQFan-Professionally/dp/B000...