I'm working with a UIWebView loading local (i.e. in the source bundle) html pages, ala Apple's Transweb example. Loading the first page is trivial. However, I have added a second html page and linked to it from the first. Attempting to link to a second page doesn't seem to work.
Anyone know how to make this work?
Thanks.
...
UIWebView exhibits jerky behavior when scrolling fast through lots of content. Mobile Safari, on the other hand, scrolls quickly and smoothly. It displays a simple checkerboard pattern while scrolling and then renders the page when scrolling is done.
How can we get Mobile Safari's fast, smooth scrolling behavior with a UIWebView?
...
Hello,
In my app, when a user selects a cell from a UITableView, I create a UIView programatically, add it to the window object, then create an UIWebView and a UIButton and add them as subviews to that view I created.
myView = programatically created view
webView = the UIWebView that is a subview of myView
button = the UIButton that...
Hello,
I have an UITableView and in every cell I add 3 custom subviews: label, webview and another label. The problem I am having is that when I tap a cell, instead of all the cell's background changing to blue, it only changes around the webview, but the webview still has a white background. it's very ugly. Is the any way of fixing thi...
I have an app that's worked since version 2.0 of the SDK where I create and add a UIWebView and then load the URL of an .mov to play a movie. Ever since the early version of the 4.0 beta up until the 4.0 GM this has stopped working. When I load a movie now I get the following error: :Plug-in handled load" and the movie never displays.
...
Hi.
I wanna wrap some text around a UIButton or clickable image in some kind of scrollview.
My ide was to add an UIButton to an UIWebView, but thats not possible?
Is there a way to wrap text around an UIButton in an UIScrollView or UITextView?
Or can I add an image to the UIWebView and handle the clicking somehow?
...
I'm using a UIWebView with text and picture in it.I want to do something like this: when I double tap the picture in the UIWebView, it will become a fullscreen preview model. Could anyone give me some advises or solutions ? Thx very much!
...
How do remove the gradient from a UIWebView - the one that you see if you overscroll the top or bottom.
This code
webView.backgroundColor = [UIColor whiteColor];
just changes the color of the gradient, it doesn't removes it. How can this be done?
(note: not the same question as http://stackoverflow.com/questions/655225/uiwebview-unde...
Hello,
Is it possible to get a youtube video to autoplay on Safari and/or UIWebView? I've seen this done in an iPhone app, the tableview displays cells that do not have Youtube preview icon (pretty sure it's a UIWebView Though), when you tap the cell it directly goes to video.
Could this be done by faking a tap on the youtube video? If...
I'm using this code:
- (void)embedYouTube:(NSString *)urlString frame:(CGRect)frame {
NSString *embedHTML = @"\
<html><head>\
<style type=\"text/css\">\
body {\
background-color: black;\
}\
#container{\
position: relative;\
z-index:1;\
}\
#video,#videoc{\
position:absolute;\
z-index: 1;\
border: none;\
}\
...
Now that 4.0 is public, I can edit this question and ask it again.
This code works in 3.2 and any prior versions, but in 4.0 I get an alertView saying "This movie could not be played".
ivar webView
//in viewDidLoad
self.webView = [[UIWebView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
webView.scalesPageToFit = YES...
Hi
I have an iPhone app that shows the user a UIWebView in the first view, what I am trying to do is allow the user to save what is essentially favorites to be saved and then displayed in a table view in the second view. To do this all i need is the page URL and also the Page Title to be saved to then populate the table view. Now here i...
Hello, I have app which have two views implemented in Tabbar, one of them is UIWebView which shows some random html and second is mapView (route-me map), I have function in MapViewController.m which do sth stuff when is clicked on marker label
- (void) tapOnLabelForMarker: (RMMarker*) marker onMap: (RMMapView*) map {
NSLog(@"taponlabel...
I am doing pagination in javascript. This is typographic pagination, not chopping up database results. For the most part it works, but I have run into a heisenberg issue where I cannot quite measure text without affecting it.
I am not trying to measure text before it is rendered. I want the actual position it shows up at on screen, s...
I need to use tiles with a UIWebview to improve the rendering and scrolling of the content.
I tried to find some info in Google but it seems that there are no examples or technical info about this subject. I am doing some test with CATiledLayer class without luck...
Basically, I want to replicate the same that Mobile Safari does with t...
The default UIWebView class loads whole HTML pages and this could cause “out of memory” problems if the website has long/complex HTML pages and also it generates slow/jerky vertical scrolls. (Try to load engadget.com in a UIWebview using an actual iPhone and you will see the problems with vertical scroll)
It seems that Safari and iCab A...
Hi all,
I have created a UIWebView using interface builder.
When I load the webview with loadRequest method, I get an error as below
"<Error>: CGImageSourceGetType image source parameter is nil"
What is this error due to ??
Thanks.
...
I'm using a UIWebView to display formatted text. It works fine until I start resizing it. When I do it starts zooming and the font size gets too big. Is there anyway to tell it not to zoom or reset the zoom?
...
How do existing apps implement this feature???
Can I store cookie only for certain sites, and only inside my app? It's my understand that the web view stores cookies in shared mode...so that they are shared with Safari and other apps that use UIWebView.
...
Hello everybody. I am trying to load the contents of a rtf file in the uiwebview. I am successful in loading the contents, but it is unformatted. the fonts are too large and it doesnt have any format. it displays the color of the rtf content, but not the font or size.
So what should i do now. is there anyother way to load the rtf and for...