This is strange. I have a custom Nib with a webView, all outlets are set properly. On the first "Build and Run", whenever I invoke the nib, it's just a blank white screen with my iPhone status bar at the top. Then, if I click Stop, and Build and Go again (without making any code changes) and I invoke the nib, I get my Nib from Interfa...
I am using the UIWebView to load both streaming audio and video. I have properly set up the UIWebView delegate and I am receiving webViewDidStartLoading and webViewFinishedLoading events perfectly. The webview launches a full screen window (likely a MPMoviePlayerController)
Apple's MoviePlayer example gets the array of Windows to deter...
I am trying to download an HTML file from the internet and store it in my app for later (offline) viewing. I use the following method to download the file but my NSLogs report that no data has been downloaded. Whats the problem here? (assume an active internet connection, assume a pre-defined path to local documents directory)
urlAddres...
I am trying to load an HTML file stored locally on the apps documents directory using the method shown below. It ain't workin. What am I doing wrong?
NSLog(@"Loading Saved Copy!");
urlAddress = [[self documentsDirectory] stringByAppendingPathComponent:@"/Profile/profile.html"];
//Create a URL object.
NSURL ...
When Connected:
I have a simple HTML page with some image elements that reference images in a subdirectory as in (src="images/someimage.jpg"). This page displays fine when accessed remotely via an internet connection.
When Offline:
I store the above HTML page locally to the apps documents directory for offline viewing. The local HTML...
It looks like a problem which could have simple solution, but I haven't found anything what could lead the way to it. I'm using UIWebView inside of UIScrollView and tapping on statusBar (to scroll content to top) is not working.
I've made simple test application to see if it's really UIWebViews fault. And it really is.
// scrolls to t...
I am using fbConnect in my Cocoa Touch application. I have UIWebview on my view, and I want to publish the UIWebview's context (its only text) to FaceBook.
How should I change the FBStream to publish my UIWebview?
FBStreamDialog* dialog2 = [[[FBStreamDialog alloc] init] autorelease];
dialog2.delegate = self;
d...
i'm trying to release UIWebView object but it not free memory.
is it have any reason?
...
So I am creating a web browser for iPhone for my class and I am having an issue where whenever I submit a form-like thing from a website, it doesn't update my address bar text (which is a UITextfield). As an example, if I go to google.com on my browser and so a search for something in the search field and hit submit, it loads a new page...
I am implementing a custom UIWebView in an UITableViewCell but it gives exception. How is this possible?
...
Hey guys, I have been hitting my head against the wall trying to figure this out for two days with no luck. I have a basic UIWebview that is navigating to a page. That page has a Javscript function that seems to crash the UIWebView but works just fine in safari. I am at a loss. I get the following crash error:
2010-02-03 08:30:16.5...
I'm looking for a way to include the jQuery javascript library in my project so I can use
[myWebView stringByEvaluatingJavaScriptFromString:a jquery command];
This doesn't work:
NSString *jQueryPath = [[NSBundle mainBundle]pathForResource:@"jquery-1.4.1" ofType:@"js"];
NSData *jQueryData = [[NSData alloc] initWithContentsOfFile:jQuer...
Hi, I'm using UIWebView on the iPhone to display EPUB content, but I'd like to simulate the page flipping 'experience' (display an animation of the page folding over) and then scrolling the content in my UIWebView down by the area of one screen -- effectively turning a page in reflowable non-paginated content. Should I stop dreaming, or ...
Hola! I have an issue I thought I would throw out to the S.O. world before I spent a lot of time on it.
Basically I have a requirement where I am getting a string of text which has inline images, like for a chat bubble in a UITableView. These images are akin to sparklines and/or emoticons.
Normally for something like this I would use a...
What I'm trying to do is transfer the contents of a UIWebView from one view controller to another. I could just copy the URL and reload the page, but that would take quite a bit of time. Is there any way I could copy the UIWebView instance and then render it on an entirely different view? (I've tried making the UIWebView object on the se...
I have a short plain text string, which might contain a weblink. I load it into UIWebView using loadHTMLString and notice that e.g. font style and size are wrong. Can't find anything else, so I embed text inside ad hoc HTML document with CSS (is this REALLY the only way):
NSString *myHtml = [NSString stringWithFormat:
...
How to load UIWebView with an html page retrieved by NSURLConnect?
...
I want to use use a customer ttf font as the Web View's default font.
the html documents i wish to display using UTF8 characters and they needs a special font ttf to display. btw, they are unicode characters
on mac, i could change my default font to that xyz.ttf. on iphone safari i could not set default font for fallback. so, i am creati...
Hi,
I am currently developing an iPhone app and would like to implement the ability to download files (specifically pdf, mp3, doc and ppt files) from the internet. I have created the UIWebView, but want to know the best way of capturing the files when they are linked to in the webview and then download them to a specified folder in the ...
I am trying to build a custom control based on a UIWebView and compile it into a library for reuse. Everything was working just fine when I had the code all together in a single test app but I'm having some trouble setting up a the delegate for the view for a library. Of note, the sample app used interface builder and thus the delegate...