Hi,
I am a beginner at iPhone development and am hoping someone can help me with my question.
I have a UIWebView displaying a web page. If the user taps inside a textbox on the web page then the keyboard pops up. This is great, but it hides the field that the user tapped on. I have looked around and found code samples to deal with this...
Hi I have looked everywhere but nothing as help, I am trying to send the UIWebView page Title to UINavigationBar.
I would also like it if a user clicks on a link the UINavigationBar shows a back button but if on the home page hide the back button.
If you can help that would be very nice
...
You can disable Javascript in both mobile Safari and Cocoa's WebView but I can see no means of doing so in UIWebView.
Am I correct?
I ask in relation to this question regarding obtaining the title of page displayed in an UIWebView using Javascript. I had worried that it would fail if Javascript was disabled but it appears the API does...
Hello guys,
i'm developing an app that saves html files locally on iPhone file system, then load them in UIWebView.. i want to be able to zoom or double tap programmatically on the UIWebView, i tried searching for javascript code, but i could only scroll
also tried the webview transform, but didn't work out for me.
so, i found this me...
In one of my apps I reuse a webview. Each time the user enters a certain view on reload cached data to the webview using the method - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)baseURL
and I wait for the callback call - (void) webViewDidFinishLoad:(UIWebView *)we...
Hi
i am new to iphone. i want to disable Back(left arrow button) and Forward(right arrow button) button on UIToolBar in UIWebView. After moved web page want enable back button and then Forward button want to enable when its need. in my app, i am using toolbar at bottom side via interface builder. please any one help me!
...
Hi guys
I want to embed a google calendar into an iphone app, my webview is fine, except I can't seem to get the URL I need to view the mobile version without having to logging in.
I know its possible as this is done in the twit app (See Screenshot below).
How can I do this?
Lets say the public google calendar is link text and I want ...
I am using a UIWebview in my app, and when there is an error, it displays an alert message.
The message is fine, but the title of the alert message displays the page URL, which doesn't help.
Anyway to get rid of that and display a custom text instead?
Thanks for your help.
...
I have a UIWebview on a Tab Bar that loads properly on the Simulator but not on the Device. Has anyone ever come across this situation? I've been looking all over the Google- machine for the last three days to no avail. Any help would be hugely appreciated.
...
Hi
I am new to iphone development.In my app, i want to display the web view in device with c portrait Orientation.It should also support landscape orientation. I used the below method but there is no expected output.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrien...
Hi,
I'm having a really confusing problem. I have a UIWebView that is contained within a UIScrollView (I'm using a UIWebView because there are some hard returns that need to be displayed) and to ensure that the app looks "clean" I'm using [UIWebView sizeToFit] after the content of the WebView had loaded.
The problem is that the content...
Hi,
I want to zoom in-out option in a UIWebView. How to do it?
Thanks in advance.
...
I have a view controller and I am intercepting the touches on links within the web views it manages.
My main view controller has this method.
- (BOOL)webView:(UIWebView*)webView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
{
//I can see this request come in upon a touch
...
I would like a UIWebView I am hosting in my app to use the proxy settings that are setup for the network connection to load content.
I don't see a way other than using something like ASIHTTPRequest along with some kind of way to pull the proxy values for the network settings.
Currently when my UIWebView tries to load content via the UI...
NSURL *url = [NSURL URLWithString:@"http://ip/login"];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc]initWithURL: url];
NSString *body = [NSString stringWithFormat: @"name=%@&pass=%@", @"phpxiaoxin", @"86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"];
[request setHTTPBody: [body dataUsingEncoding: NSUTF8StringEncoding]];
[request ...
I have a UIWebview that is loaded as a subview when a user selects a tab on a UISegmentedControl. For some reason, I can not get it to allow pinch/zooming.
I set the following code in the viewDidLoad method, so it should work.
self.myWebView = [[[UIWebView alloc] initWithFrame:self.view.frame] autorelease];
self.myWebView.backgroundColo...
Hi,
I need a way of controlling video non-fullscreen in my application. I've played around with both MPMoviePlayerController and a solution using UIWebViews.
I have found one solution using MPMoviePlayerController where I can prevent the video from going full screen (by grabbing the key window and set a transform on the UIWindow objec...
So I have a web page inside my bundle, which I load in a UIWebView. However, the page doesn't seem to be able to store any cookies, even though other (online) websites can. How do I get it to store my cookies?
...
I am programmatically generating HTML and want to link to a CSS file that I've included in my Resources folder. I am using a baseURL of nil, and my CSS file is at the top level of the project file, but this "link" is definitely not working (ie, the CSS file is clearly not being loaded/found when the UIWebView displays the HTML).
Is it p...
I have an iPhone application which needs to generate a local HTML file from a template and then render the HTML in a UIWebView. It basically needs simple Django-like template features, just to replace template tags with values and simple enumeration over collections (for instance to generate rows of a table). Is there some existing simp...