uiwebview

Defined outlets, connected them, they all returns (null)

Hi! I'm trying to play with a WebView. I made an outlet: IBOutlet UIWebView *browser; Defined it as a property: @property (nonatomic, retain) IBOutlet UIWebView *browser; Synthethized it: @synthesize browser; Finally, I connected it in Interface Builder, really it is. Then I try to do something with it i.e.: [browser loadReq...

How to make same UIWebView take data from different local .html files?

I have an app, where there's one UIWebView and a UITableView. I don't want to create many .xib's, so I decided to make one .xib for all elements of the table. When user chooses a table element, the UIWebView appears and I want it to load data from different .html's depending on the name of the parent controller. The html's contain text a...

How to make a class in one file work with UIWebViewController implemented in another file?

So I have a UIWebView implemented in one .m file and a UITableView implemented in another. When a user clicks UITableView element, the UIWebView appears. The problem is that I have to set UIWebView's content (local text and images) depending on the UITableView's row number. I know how to do this, but this, of course must be implemented w...

Search in UIwebview

I want to implement Search(one by one) functionality in my UIwebview . I have following Javascript code. strFound=self.find(str); if (!strFound) { strFound=self.find(str,0,1) while (self.find(str,0,1)) continue } also I want to Scroll down UIwebview progmatically when a word is found on bottom. PL. guide me. ...

iPhone dev: load a file from resource folder

I'm writing an iPhone app with a UIWebView which should display various html files I have in the app resource folder. In xcode my project overview, these html files are displayed like this: dirA |---> index.html |---> a1.html |---> a2.html |---> my.css |---> dirB |---> b1.html |---> b2.html |---> dirC |---> c1.html ...

UIWebView mixes content of local files

I have multiple UIWebViews as child controllers of a UITableView with a Nav bar. The .xib file is the same for all the UIWebViews, but the UIWebView's content depends on the UITableView row selected. UIWebViews take their content from local .webarchive files (formatted text and images). If I click row 0 and UIWebView 0 appears, it look...

How to clear UIWebView cache?

I need UIWebView to display some local .webarchive file. But images there have same names, so UIWebView shows only one image all the time. How can I clear the cache? Thanks in advance ...

How would you design a question/answer view (iPhone SDK)

I'm new to iPhone development, and I have a question on how to create a view for my application. The view should display a problem (using formatted/syntax highlighted text), and multiple possible answers. The user should be able to click on an answer to validate it. Currently, I am trying to use a UITableView embedding UIWebView as con...

Dismissing pickers and keyboards invoked by a UIWebView

I am implementing an in-app browser using UIWebView, that shows an 'action' button up-top that - when tapped - scales the UIWebView and allows the user to perform some other actions. If, however, at the point of tapping this 'action' button, the user were entering some text on the webview, or using a picker to select an option from a d...

iphone uiwebview / form

Hey All, Okay, so I have an iphone app that presents the user with a UIWebview of an html page with a form I created. The form has standard stuff like a message box and dropdown boxes. Once the user fills out the form and clicks submit, it saves the information as nsstrings in my program. Okay, no problem there. That all works fine. H...

iphone uiwebview inital white view

My app's main view has a uiwebview. It is white for a split second before it has time to render the HTML the app generates. Is there a way to make the uiwebview black, or another color, before it renders? The flash of white isn't part of my plan for a smooth visual transition. Objective-C or MonoTouch answers are fine, I am bi-lingual....

force a webview link to launch safari?

I have a uiwebview embedded within an iPhone app of mine. I want to be able to have certain links within that webview open into the full mobile safari app (i.e. not my embedded version of it). Is there a simple way to structure some of my hrefs to force this, instead of every link opening within my embedded webview? Thanks. -tony ...

How to change a javascript alert box title into an UIWebView ?

Hi, I use an uiwebview into my iphone app. When i display a javascript alert box, his title is my iphone app name. How can i change it ? Thank you, Mo' ...

iphone: UIwebview curl effect

Hello, I would like to make a standard view container which will give me the curl animation effect on multiple views. Something like uiscrollview and paging, only with a different animation(curl). I will be using UIwebviews as my separate pages. The problem: I do not know how to trap swipes in UIwebviews, But I see that UIscrollview ...

How to Make URLs clickable inside of UITableViewCell ?

I know how to use UIWebView and can invoke a WebView if it is associated with a specific button or UITableViewCell. What I am trying to achieve is to have a UITableViewCell with a chunk of text. That chunk of text might contain a URL. I want to make the URL into a clickable link and have that link open into a WebView. My thought so far ...

Using a UIWebView, can I use a custom font?

I've seen all the talk on the web about the difficulty of using a custom font in iPhone OS. Is it possible, to load a font from within my bundle into the UIWebView component? EDIT: I saw it in the app called "Omer" by "Rusty Brick"... It seems to be a web view, because I see a delay and during the loading delay the custom area is white....

Outputting a bar chart to an iPhone application?

Right, I really want to output a Bar Graph to an Obj-C iPhone application - now I may be missing a vital SDK class or something; but right now my solution is to embed a WebView and inside that have a JQuery/Flot based graph - not totally ideal I know! Just wondering if anybody has any other creative solutions or whether a WebView/AJAX s...

How to open safari, mail and doing call by html href link in UIWebView

Hi, I need to do three task in UIWebView, Open safari, Open mail Place the call. I know that i can do it by using UIApplication's openURL, but i need to do by using UIWebView only, because my data is coming from server, and i need to do this task in that data, if data has www.link, email addres or call number. Does anyone knows tha...

Reflow PDFs for an iPhone screen (iPhone SDK)

I'm currently making an iPhone app that has PDF viewing a crucial part of its functionality. However many of the PDFs aren't iPhone friendly and require zooming and panning to read them. Is there anything I can do to make them better whether with the PDF itself or programmatically? (I'm currently using a UIWebView PDF viewer by the way....

Detect if images have loaded in a UIWebView?

Hey, I have a UIWebview that is loading an image. However I am trying to call a method when the image has completed loaded / rendered. I tried using UIWebViewDelgate and used, -(void)webViewDidFinishLoad:(UIWebView *)webView {} However this method is called before the image has loaded / rendered. How can I fix this. Any help would b...