Hi does anybody know how I can programatically scroll a UIWebView in Objective-C (iPhone SDK)?
The only solution I can think of is to put it inside a UIScrollView and programatically scroll that, however this presents the problem that the web view is often the wrong size and therefore the bottom of the page is cut off when scrolling. I ...
Is it possible to convert a PDF page in to HTML format using any objective-c library. I want to enable the text selection on PDF files.
...
Hi,
I'm trying to build a HTML based application for the iPad. I want to build a background process using Objective-C to download images and data and then refer to those from within a HTML file using the UIWebView.
I can successfully download an image and save it to the Documents sandbox directory. In the simulator I can see the pat...
I'm planning on adding a small subview to the bottom of my current app so that it can display RSS feed headlines one at a time. What would be the best type of view to use for this? UITextView, UIWebView? Perhaps a custom UITableViewCell? If i use a UITextView and tap it, it displays the keyboard, but if i setUserInteractionEnabled to NO ...
I'm trying to implement a UIWebViewDelegate in my application and I cannot for the life of me get it to work. I would really appreciate a second set of eyes on this.
I know the name MapViewController is confusing, but the WebView is controlling a map (not UIMapView).
Here's the bulk of the code:
MapViewController.h
#import <UIKit/UIK...
I am using UIWebView to load a url
Inside the page of that url, it uses alert("whatever msg") as javascript
so my UIWebView will pop up a window and show that alert message.
Is there a way to disable this kind of popup window or javascript alert window?
thanks
...
I tried what is described in this post. Even though I was able to change the URL of the request, but the original URL was still loaded.
What I am trying to do is to insert an authentication string into the URL (i.e. http://user:pass@url) for those that don't already have it.
The URL I'm loading has frames, so the [[webview request] U...
I was using UIWebview to play a video in portrait mode. It was working fine in case of iphone OS 3.2 .
Some times ago i updated my iphone OS to 4.0 then problem came(No video player is coming now). My current build version of application is 3.1.2.
Thanks a lot for any kind of help.
...
Hi,
How to send touch events from uiview to uiwebview without using undocumented methods ?
My problem is to hide/show the tabbar and navigation bar when the user touches the uiwebview. this actually needs customization of uiwebview which is not adviced. I am planning to put a transparent view on top of the uiwebview and then recieve th...
I have an iPhone app that loads a client website into a UIWebView. Navigation between different parts of the website is provided by a UITabBar.
A couple of the client pages have embedded maps or links to map sites (Google Maps and whereis.com.au). When the UIWebView has loaded the embedded map or visited a linked map, it stops working. ...
hi,
Is there a way to zoom out or reset a uiwebview programatically ? if yes how ?
...
I have a UIWebView in which the user can browse a bunch of locally stored and interlinked HTML files. All works nice and well, except in this particular case:
User navigates to a page with a fragment pointing to chapter 3, causing (correctly) the browser to render the HTML from the fragment anchor and onward.
User scrolls a bit further...
hi,
I have a directory images with lots of sub folders. 100,101 etc.,
How should my img tag and the uiwebview's base URL should be ?
img href="/101/1000/238.jpg" /img ??
...
I want to take a snapshots of a specific area of UIWebView by giving x, y coordinates and dimensions. Is there any way I can achieve this?
I am using the current code but I am only able to get the image of visible area on screen only. How can I get the image of the area which is not visible?
UIGraphicsBeginImageContext(rect.size);
...
How can I force UIWebView (or UIView) to invert(inverse) colors like film negative? I've try to subclass CALayer and override UIWebView layerClass, but have no successes with catch the drawInContext methods. Any ideas?
...
I am building a hybrid iPhone application (Objective-C and html/javascript/css/jQuery through UIWebview) and there is part of the application that need to be able to run in offline mode (just simple browsing data, not updating) and is implemented in html/css. We stored html, css and javascript locally but use JSON service to retrieve dat...
I want to develop a news App such as Engadge etc. The news had loaded from the server, and now I'll save the news included body text and pictures into database(Core Data). Can UIWebView read the datas from Core Data directly, and shows in UIWebview?
Thanks.
...
I have two views controlled by a uinavigationcontroller. the first view has a UIWebView and has button that takes the user to the second view. The user can get back to the first view by tapping the back button on the nav bar. however the webview's content is not current. How can I refresh the content in the first view's webview when comi...
Hi
I've been trying to animate a uiwebview by making it's frame shorter height using the UIView animateWithDuration:animations: method. I succesfully shorten the uiwebview by making the frame property equal to a shorter height however when i scroll to the bottom of the uiwebview I find a grey box.
After I animate the uiwebview to be sh...
Everytime I load a html file that is larger than 2MB my app crashes. Is there a limit to how big a web page can be? How can I not crash my app (partial loading?)
...