While there are already quite a few posts about leaks around UIWebView, mine is a bit more special, I believe, and thus deserves its own post here.
I see a reproducible large leak every time I load a Office document such as a Word or Excel file.
For instance, every time I display a 180KB .doc file, I get a 100KB leak. And that happens ...
I would like to know what the first piece of text/html that is currently showing on screen, or more generally where in pixel location a particular tag or piece of text is in the UIWebview. I know that I can use window.pageYOffset to get the scroll position of the UIwebview, but how do I find out what text or HTML item is there?
...
Hi,
I have a doubt in developing apps for iphone,
Can I develop authentication page(with secure login id and pwd) through which I can load my webcontent.
Does apple allow applications having login credentials or not?
Can anyone please let me know this.
Thanks in advance..
...
Using CSS in a UIWebView, how can I make left-to right text flow in a justified manner? What CSS am I looking for?
EXAMPLE
<p style='text-align: justify;'>
does not work. What goes instead of justify?
...
I have been using the uiwebview for a app that consists a index.html,css and javascript files.I'd like to do away with the uiwebview and open the app in the safari browser instead.All source files are located within the app bundle.Is it possible and if so can someone point me in the rite direction.Thanks in advance for any help offered.
...
Hi,
Is there a way to disable the Javascript in a UIwebView ?
I have memory consumption problem, and I'm looking for a trick here because it seems to not be be possible with the official stuff.
Maybe a call with javascript can stop javascript itself, i don't know.
Thanks in advance for any help,
Adrian C
...
In my code I'm trying to show a UIWebView as a page is loading, and then, when it's done, capture an image from the web view to cache and display later (so I don't have to reload and render the web page).
I have something along the lines of:
CGContextRef context = CGBitmapContextCreate(…);
[[webView layer] renderInContext:context];
CG...
Consider a class with these methods:
- (id) initWithFrame: (CGRect) frame
{
if (!(self = [super init]))
return nil;
webView = [[UIWebView alloc] initWithFrame:frame];
[webView setDelegate:self];
lock = [[NSConditionLock alloc] initWithCondition:LOCK_WAIT];
return self;
}
- (void) setHTML: (NSString *) html
{...
Hey,
I would like to know how you can disable UIActionSheets, specifically the Action Sheets being displayed after tapping and holding hyperlinks in a UIWebView. These seem to be enabled by default in UIWebViews containing the link address of the respective link in the title of the alert. They are also enabled in Safari.
(How) is it po...
Application contains embedded UIWebView inside UINavigationController. Everything works fine - except just tried to open an ad with URL pointing to flash-only webpage. It's been loading that page now 22 minutes, so I suspect there is no automatic timeout?
When looking at shouldStartLoadWithRequest, self.currentUrl points to flash-site, ...
I'm working on some HTML5 content to be included as part of an iPad app in a Web View and it requires some custom fonts which I was attepting to implement via CSS and @font-face
As I understand it, Mobile Safari only supports SVG fonts, but my testing has shown Mobile Safari to really struggle with SVG and the performance hit is a serio...
If I use UIWebView to render some richtext content and some dynamic web content in my app, then is there a possibility of adverse effect on my app rating in approval process?
...
I'm loading a biggish (and javascript-heavy) page into a UIWebView, and I want to add a UIActivityView to spin while it thinks.
Problem is, my - (void)webViewDidFinishLoad:(UIWebView *)webView method gets called quite a while before the rendering actually happens. Enough so that my spinner (which set to hide when stopped) never actually...
Has anyone tried it? The hardest part for me is to get the height of the UITableViewCell to be the same as that of the UIWebView. By debugging into the code, I noticed that the delegate for UITableViewCell (heightForRowAtIndexPath for getting the height of the cell) is called before the one (webViewDidFinishLoad) for UIWebView is called....
In a new app, I plan to let users download their own files and stored them inside iPhone. The process is typically:
iPhone present a web page by UIWebView, in which there are several links to .zip files
the user browser the page and click on one of the .zip file link
iPhone downloads the file into the iPhone document folder, closes We...
How could I create UIWebView having variable number of rows With each row to have the same layout, is it essentially a DHTML question?
...
I have downloaded a gif image into an NSData object (I've checked the contents of the NSData object and it's definitely populated). Now I want to load that image into my UIWebView. I've tried the following:
[webView loadData:imageData MIMEType:@"image/gif" textEncodingName:nil baseURL:nil];
but I get a blank UIWebView. Loading the ima...
I'm working on some HTML content as part of an iPad app. We may need to lock the content of the UIWebView to portrait mode, but the app has already been submitted to Apple and the only reference I've found to achieveing this is in this question which gives this example
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientatio...
I am using UIWebView as a web browser on my application and when I open an url with my browser and return back to the main view, then go to browser view, my webview doesn't save the content. So, if I go to google.com and switch views, then again go to the browser view, I have to type the url again to open the webpage! How can I save the ...
Hi there,
I'm curious if there's a way to detect a change of the displayed website inside a UIWebView. In an app I'm working on we're using a UIWebView to present a part of the functionality which are basically a few steps the user needs to follow. However, the will be a specific page at the end of these steps that I need to identify an...