I want to have a webview that has a single HTML and a single CSS file, shows graphics at the same size, but native resolution for each.
My existing webviews, designed for 320x480 seems to scaled up well (crisp text and border-radius for instance), though images are at half res in the iPhone4 simulator. How do I simulate the native imag...
Hi everybody,
I'm trying to add a UIWebView as a subview of a UITableViewCell in order to display some data formatted with MIMEType 'application/xhtml+xml'.
Even just initializing the UIWebView as described in the following code leads the application to crash!
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath...
So I have an application with two view controllers one is the main controller that launches when the app launches. This view controller Has two buttons on opens a uiwebview to google.com the other opens that same uiwebview but loads a different page.
How can I change the nsurl that is loaded in the other view controller from the origina...
I am using WebView to present UI. Is there any way that I can trigger custom soft keyboard when input text form field is selected?
...
Hi, I am just having a quick look at UIWebView and have written a small browser with a back button, a UITextField and a forward button. Here is what happens:
I enter "www.google.com" into the textField and it goes to the page.
The textField says "www.google.com"
I enter "www.apple.com" and it goes to the page.
The textField says "www.a...
CGRect fullFrame = CGRectMake(10, 150, 300, 200);
UIWebView *fullTextView = [[UIWebView alloc] initWithFrame:fullFrame];
fullTextView.userInteractionEnabled = YES;
NSString *imagePath = [[MDImageManager sharedImageManager].imagesPath copy];
imagePath = [imagePath stringByReplacingOccurrencesOfString:@"/" withString:@"//"];
imagePath = ...
Hi,
I'm new to the whole "iPhone Dev" world, and I am creating a simple app which has a feature to see the latest entries from a number of different Wordpress blogs.
I am able to grab encoded content ( node) from the RSS feeds and display it easily enough using a UIWebView and the loadHTMLString function.
What I cannot figure out how ...
Background: I am developing a news reader type app native for the iPhone which displays many of the news articles as html in UIWebViews. My current goal is to have a css file in my project that can style html that is programmitically meshed up (article + comments, etc). I have done a bunch of little proof of concepts and I know that I ...
I'm hoping that this question isn't a stupid one but how does one go about positioning a UIPopoverController view over a UIWebView so that the popup view arrow points at the UIWebView link that was clicked to show it?
I'm using the delegate method;
-(BOOL) webView:(UIWebView *)inWeb shouldStartLoadWithRequest:(NSURLRequest *)inRequest ...
hi,
i have a uitableview which will load a uiwebview with a long page (static page inside the app). I want to know whether it is possible to move to the center of the page on clicking the cell in the uitableview. Something very similar to using hyperlinks to point to different location of same HTML page.
...
I've designed my main view using HTML, CSS and some images. It looks very nice. I'm using some images that are clickable in HTML code.
On click of some image, I want to load some view accordingly.
Is it possible? If yes, please suggest me how to do it.
If tutorial or some sample code is available please share it.
...
Hi There,
This is a question for iPhone development and I'm hopin someone can point me to the right direction on how i should go about implementing this.
I am trying to write a chat application that supports emoticons/smileys. Where the smiley/emoticon images are stored can be figured out later. I think few iphone applications out the...
I have an app with a UIWebView and a UITableView. The UIWebView displays an .rtfd.zip file with the same name as the selected table row. I use this code:
NSString* sourceFilePath = [[NSBundle mainBundle] pathForResource:[self title] ofType:@"rtfd.zip"];
NSURL* url = [NSURL fileURLWithPath:sourceFilePath isDirectory:NO];
NSURLRequest* re...
hi, I am using UIWebView to display the scrolling text in a scene in cocos2d. Some times the text is appearing in the next scene also. And it is not disappeared in any next scene. When I restart the game it is again fine. I released it and removed it from superview. But the problem occurs only some times . I could not get where I am wro...
I'm using iPhone OS 4 and creating an application.
I've a webview, over which I'm placing two custom buttons with images (no text).
When I'm running the app, I'm not seeing the buttons at all.
any suggestions?
I've a tab bar view and one of the view has this web view.
Edit: You can download the XIB and related files from http://dl.dro...
How can I make a button that will open a UIWebView the the last page that it was on before the user closed it?
for instance i have 2 xibs
1) my home screen
2) my webview
on my home screen i have 2 buttons
1) opens the webview to google.com
2) the second one opens the webview to the last page that it was on.
...
Hi guy,
I want to create an UIImage of UIWebView and then I want to draw that image.
Here is my code:
UIWebView *tempView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 44, 700, 1024)];
[webView loadHTMLString:@"Display This String" baseURL:nil];
UIGraphicsBeginImageContext(tempView.bounds.size);
[tempView drawRect:tempView.bounds]...
I have an app using WebView. when the user clicks the login button from the Webview(loginpage.php).he have to redirected to my application with the login credientials.
i have tried this URL but i cant resolve my problem.
http://www.iphonedevsdk.com/forum/iphone-sdk-development/41113-alert-when-leaving-webview-appstore.html
(BOOL)webVi...
I'm having a problem with my UIWebView for my iPhone App... I am getting an alert thrown up with OK-Cancel button options, and I don't want the user to see this... But the web page automatically pops up an alert. How can I programmatically detect the Alert was thrown up and how do I click the cancel button on the alert?
Thanks,
Matt
...
Error I get from console:
2010-07-02 12:08:17.179
myApp[15509:6507] Cannot find data
converter callback for uti public.data
2010-07-02 12:08:17.182
myApp[15509:6507] Failed to generate
preview
iPhone simulator work fine without any problem but iPad doesn't. That's strange.
Thanks for helping me.
Tung Do
...