I'm looking to enable users to import data from websites, without giving away too much of my app, say for example to store StackOverflow questions. (It isn't really StackOverflow questions, but you get the idea, stuff that isn't being sent from a server that is kindly delivering the data in a format intended for my app).
What I'm asking...
I wish to view documents (pdfs) in a UIWebView and allow the user the option of saving the file for offline viewing.
I know how to load from the web using;
[webView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString:doc]]];
and I know how to load a file in my bundle;
NSString *pdfPath = [[NSBundle mainBundle] pathFor...
Hi,
I am trying to load a html page through UIWebview.I need to disable all the hyperlinks in webview and make its color to normal text color i.e i need to disable webpage detection.Is that possible
Thanks in advance
...
Hi,
here i am fetching data from 2-3 different xml and by attaching my own css and css coming from server i am merging this code and store it in cache of uiwebview so ass to display that html content in uiwebview. But problem is that uiwebview is having limited cache size due to that i am unable to store large amount of data in it.
e.g: ...
Iam using the column layout model of css3 to view content in a UIWebView (iPhone/iPad), I would like to programmatically select and copy the content of each column and paste it in another view, is there way to achieve this?
...
What is the best way to view documents (pdf,doc,xls) using AsiHttpRequest and UIWebView??? I tried the following, but the UIWebView is displaying the html:
NSString * baseURL = @"http://xxxxxx/open-api/v1/";
NSString * itemRef = @"item/133/attachment/test.pdf";
NSString *urlString = [NSString stringWithFormat:@"%@%@", baseURL, itemRef]...
Hi, I'm trying to call
-(void)shareOnTwitter:(NSString *)link{
link = [NSString stringWithFormat:@"http://m.twitter.com/?status=%@",link];
//load webView etc
But twitter is taking me to the logon page without my link saved. Has anyone gotten this to work?
...
Inside a UIWebView the user can click on FB connect button the page displays and when I hit login the UIWebView turns blank and stops there.
On a regular browser after the login is hit, it looks like it goes on fb and redirects back to the webite. I'm not sure what to change on the UIWebView so that it handles it like Safari does
edit...
I am using UIWebView loadRequest to request a new URL. The UIWebView is inside a TabBar View. When I place the request inside awakeFromNib it works. When a make a subsequent call the view does not change.
[webDisplay loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
If I place the initial r...
I have what is essentially an offline web site embedded in a UIWebView. I've created a stylesheet to format everything nicely on the iPhone screen, but I need different formatting to take better advantage of the iPad's screen.
I tried using code to simply copy a different stylesheet into place, but this involves modifying the applicatio...
I have an image I am loading into a UIWebView as such:
NSData *data2 = [[NSData alloc] initWithBytes:sqlite3_column_blob(selectstmt, 7) length:sqlite3_column_bytes(selectstmt, 7)];
if(data2 != nil) {
[webView loadData:data2 MIMEType:@"image/png" textEncodingName:nil baseURL:nil];
webView.backgroundColor = [UICo...
Hi guys,
In my iPhone application I'm parsing RSS feed to get html and keep it. Afterwards I display this html in UIWebView. The problem is that html contains urls of images, if there is network connection everything is ok, UIWebView loads and displays these images, but if there is no connection it shows text but in place of images show...
hi, i think it is a simple question but i dont know how to solve it.
i have a NSString that containes html content.
i want to extract some tags.
NSString *string=@"test some text <img src='http://www.xyz.com/a.jpg' > blah blah <a href='asdfg'>aaaa</a> bbbb cccc";
i want to take img & "a" tag into new string. then i will display it i...
I am using UIWebView to provide a simple browser in an app. When I go to Wikipedia the search bar at top of the page (mobile version) is never shown in the UIWebView. Scrolling down and back up does not make it visible.
I tried both cases (YES/NO) for scalesPageToFit but did not do anything.
...
I am currently opening a webpage in UIWebView and submitting a form which performs a query on the server side and youtube video is returned (if available). I have no say/control over the server side implementation.
This webview works fine on iPhone/iPod, however, when I try to run the same app on iPad there is no response after submitti...
I need to get the url that a UIWebView is displaying after the user clicks on it once.
I've tried putting a button which calls a method which determines the url, under the UIWebView, but this way the button doesn't work. I've tried putting a button over a UIWebView but this way it gives not the url after the click, but the starting url...
Hi all ,I import WebView.h to my project,and it only has a simple IBOutlet UIWebView *myWebView ;
How to Open a WebView when I press the button in the alert view ?
here is how I define alert view button response
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
if ([alertView tag]==0) {
...
Hi,
is there any list which HTML5 features the UIWebView supports and which not? I am interested mainly in:
1) localStorage/sessionStorage
2) offline manifest
3) web sockets
4) web workers
In pre-iOS4 there was not an offline manifest support, which was necessary to program in objective-C, which - when done broke the localStorage s...
I'm using Monotouch to develop an iPhone application.
I'm aware there are answers out there for this question already for Objective-C. For example:
Stop UIWebView from bouncing vertically
This answer is ideal. I figured I could just take it, and turn it into C# and it'll be fine.
The Objective-C code is:
for (id subview in webView...
I have a UIWebView with different (single page) content. I'd like to find out the CGSize of the content to resize my parent views appropriately. The obvious -sizeThatFits: unfortunately just returns the current frame size of the webView.
...