A class used to display web content from within an iOS application.
0
votes
0answers
12 views
play video in Embedded UIWebView and Apple guidelines
play video over 5 min in Embedded UIWebView ( HTML 5 page) is compatible with Apple guidelines ?
Thank you
0
votes
0answers
15 views
UISegmentedControl to switch between UITableView and UIWebView in MonoTouch?
I have a UITableViewController that I am currently using for displaying of a UITableView. I need to add functionality to this controller so that the following is possible:
By default a UITableView ...
0
votes
0answers
4 views
How to bypass Google Maps UIWebView splashscreen on iPhone?
I'm trying to display live traffic of a specified area using Google Maps within my app.
It works as expected using standard iOS UIWebView.
However, sometimes Google Maps would display splash screen ...
0
votes
1answer
66 views
LoadHTMLString in UIWebiew not working
In my application I have a web view in my view controller xib and I have linked it properly. for some URLs, the web view loads properly. With some other ones it doesn't. However, they load properly in ...
-1
votes
1answer
23 views
How can i get the contents of javascript alert message on UIWebView?
i've been trying to get a message of "javascript alert" on UIWebView.
although it's possible to get the one on Android WebView using by the "onJsAlert" event,
UIWebView doesn't have a kind of the ...
0
votes
1answer
26 views
Adding Loading Screens to multiple UIWebViews
Im building an app with multiple uiwebviews. I wanted to add loading screens to make the app easier to use. I've added one for one of my webviews using this code.
- ...
0
votes
0answers
14 views
Over multiple buttons into a second View (WebView)
The function:
In the first View there are 3 UIButtons and each button has its own link.
If you press on a button, you get into a second View (over a segue function in a WebView).
A small screenshot ...
0
votes
0answers
10 views
How to detect if an external keyboard is connected to an iPad, using Javascript on UIWebView
I am trying to detect if the user has connected an external keyboard to his iPad. The app is using webviews? Is there a javascript solution to it?
0
votes
1answer
24 views
What embedded browser is showing ad websites?
I have banner ads (mopub with AdMob and iAds) implemented in my app. When I click "Visit Site" on some ads I get a seemingly very nicely embedded UIWebView or browser experience with site navigation ...
0
votes
0answers
8 views
iOS: UIWebView load resource with client certificate from remote URL
I'm trying to load a resource from a remote host and that requires a client certificate.
Example:
Main-Site-URL: http://abc.de
Remote-Site-URL: https://xyz.de/foo.js
The Main-Site needs the ...
0
votes
0answers
8 views
UIWebView does not trigger blur and focus
Our app does not trigger a window blur, or focus when going to the homescreen or returning to the app.
Is this desired behaviour? It is causing some issues with websockets hogging memory when the in ...
0
votes
0answers
38 views
How to Load image in uiwebview?
I am doing following steps to display a html file in uiwebview.
1.unzip the .epub file, from that get html file content in a array
NSData *data=[NSData dataWithContentsOfFile:filepath];
...
2
votes
1answer
48 views
Unable to highlight text in UIWebview?
I have been working on highlighting a text in UIwebview. In that I used canPerformAction method in which i call a javascript function to highlight the text. Lets take the text in my webview is
"the ...
0
votes
0answers
3 views
Preventing a UIWebView from scrolling after tapping a link
I've got a UIWebView which is displaying a long chunk of HTML with multiple embedded images that are wrapped in links. The webview is scrollable so that content "below the fold" is accessible.
When ...
0
votes
0answers
16 views
PhoneGap inAppBrowser: How open inAppBrowser from the webview delegate?
I'm developping an iOS app and my goal is to open an external website from phonegap using
<src content="www.foo.com" /> in config.xml
The external website doesn't know the cordova.js
So ...
0
votes
2answers
33 views
How to treat html document as string
I am displaying htm files in my app with a web view and I want to be able to do some analysis on the files in the app. For example, if the file was of a football schedule from 2009, I would want to ...
-1
votes
2answers
14 views
UIWebView disable highlight when the user clink on a link tag a [on hold]
Is it possible to remove the gray highlight when the user click on a link? I tried with css but it doesn't work.
1
vote
0answers
26 views
Scaling images in UIWebView iOS
I am using UIWebView to display a snippet of HTML in an iOS app. The HTML does not come from me, it comes from a public RSS feed (from the description field).
It looks fine, except the images are ...
0
votes
1answer
16 views
How can we find out value of webview.MediaPlaybackRequiresUserAction using javascript
I have to play video (HTML5) on iOS in autoplay mode, but for that we need to set webview.MediaPlaybackRequiresUserAction as FALSE.
Is there any way to check the value of ...
0
votes
1answer
15 views
Javascript alert cause freeze. ( With AFNetworking and native code callback)
I want to do following list.
use UIWebView
Button on webview is tapped , then exec native code(http request) and get Response.
I can get Response. But, It's not work 'alert' correctly in callback ...
0
votes
0answers
19 views
Can't get UIWebView to play a .mp4 in Xcode
I'm displaying a webview like this:
NSString * nsstrPath = [ [ NSBundle mainBundle ] pathForResource : page ofType : @"html" ] ;
NSURL * nsURL = [ NSURL fileURLWithPath : nsstrPath ] ;
...
0
votes
0answers
40 views
Xcode is not updating app in simulator
I just recently started using xcode 5 from xcode 4. I have a view controller with a webview set up to display a locally stored htm file. I changed which file it would siplay and when i went to see how ...
0
votes
1answer
16 views
Offline UIWebView when internet unavailable
I have a UIWebView. When there is internet access I want it to load the actual webpage and when there is no internet I want it to load a saved html complete website file. I implemented a test webView ...
1
vote
3answers
38 views
how to change WebView with buttons in seperate View Controller
I need to change the URL of a WebView (located in WebViewViewController) using buttons in View Controller 1 (called PracticeViewController). I totally understand how to change the web View when it is ...
1
vote
1answer
21 views
Line height changing in UIWebView
I'm working on two different apps. Most of the app is already done, I just have a few things to change.
I'm working on a page that has to be the exact same on the two apps ("Help page"). Therefore, ...
0
votes
0answers
7 views
Playing YouTube video in iPhone only app - loss of controls
The code below is used to put a small WebView on a View so that the user can tap it and the video opens in full screen mode and plays. All that works, but after 4 seconds of play the controls ...
0
votes
1answer
26 views
IOS6 landscape playing embedded youtube video from a uiwebview within an only portrait iPhone app
I've got an iPhone application with a storyboard,few xib and custom cells.
The application is set as a "portrait" as "supported interface orientation" (i mean everything is display like that).
In my ...
0
votes
0answers
14 views
UIWebview want to prevent appearance of keyboard for <select> tags
I'm using a UIWebView to display an HTML page containing several <select> and <textarea> tags. I don't want the keyboard to appear if the user touches a <select>, but the keyboard ...
2
votes
2answers
54 views
Sensitive Data stored in cache.db-wal file?
I am facing an issue in an iOS application that uses a UIWebView to render HTML5 code that is part of the application bundle.
This HTML5 code makes ajax requests to our backend which may ...
0
votes
1answer
32 views
Select parts of a UIWebView
I want to open my website in a UIWebView but I need not to shown the upper and lower part of it. So I want for example to select the following part: top + 50 pixels --> bottom - 50 pixels
Is it ...
0
votes
0answers
9 views
Is there a way to create a URL that will be opened in mobile browser and not in facebook native uiwebview
I'm trying to develop a web site (outside of Facebook) that all users will reach from within Facebook native apps.
currently when I publish a URL: http://mysite.com and a user clicks on it from within ...
0
votes
1answer
23 views
How do I organize detail controller webview for different URLs on a table?
I have a static table view with dozens of static cells and groups inside it. I am using the Master-Detail Application template for the iPad. In the Detail View Controller I have a single WebView. I am ...
0
votes
1answer
26 views
Issues with UIActivityIndicator not showing up
I am trying to make my application open a musicfile on dropbox thru UIWebView. I have made the music play only on click with the following code:
-(IBAction)Play:(id)sender {
NSString *stream = ...
1
vote
1answer
31 views
shouldStartLoadWithRequest doesn't run stringByEvaluatingJavaScriptFromString method
I am trying to run the code below in webview's shouldStartLoadWithRequest delegate method but it doesn't make any changes.
- (BOOL)webView:(UIWebView *)webView ...
0
votes
1answer
24 views
UIWebView email hyperlink is not working on device
I am displaying a HTML page in my iPhone app. The HTML page has few Email addresses. In Mac desktop browser, if the same HTML page is opened and if i click on email address, MAC machines mailbox is ...
1
vote
0answers
29 views
UIWebView does not show AlertView as per image
I have to update my app to handle the situation as per the image shown. It used to work when I logged into the website and the login for was just displayed as a normal website.
But now since the ...
0
votes
0answers
21 views
UIWebView not displaying HTML
I have searched on S/O and none of the answers have applied to my code so I am assuming its something I am missing in my code.
I added a UIWebView using Interface Builder called showAbout
I ...
0
votes
1answer
24 views
iOS: View heights not adding up
I am trying to implement a custom browser with UIWebView in my app. The XIB file has an address bar at the top of height 35px and a navigation bar at the bottom of height 35px. So, I am dynamically ...
0
votes
2answers
42 views
Make a Flip animation (or something similar) when I reload the content of my UIWebView
In one of my project i'm using only a UIWebView. I need an animation (for example a flip) when I reload my webView with another content... Is it possible to create a flip animation (or something ...
0
votes
1answer
21 views
Load Image from UIwebview fail
I am using Webview to load a image file stored in my app Library Directory, first i tried use resourcePath, and bundle path
NSString * html = [[NSString alloc] initWithFormat:@"<img ...
0
votes
0answers
18 views
UIWebview contenteditable crash in UITextSelection caretRect
I have a UIWebview which the user can edit (iOS 6 and above). The webView has userInteractionEnabled YES, and the HTML has contenteditable TRUE, as follows:
- (void)configureView // called from ...
1
vote
1answer
36 views
Set font size content UIWebview
I built an application to read mail on the ipad, when displayed html body content to UIWebView the font size it is not uniform, I can not adjust the font size as all the other applications MailBox, ...
0
votes
0answers
20 views
How to jump next search result in UIWebView
i am using this tutorial http://dl.dropbox.com/u/12280770/TheSearcher.zip1 and it works great but i can't figure this out how to jump next result with a button.I checked many questions and answers but ...
0
votes
2answers
43 views
Is it possible to take an image from a UIWebView and display it natively without reloading?
Say I load a webpage with an image on it. Is there a way to reuse this loaded image within a UIImageView without reloading the image from a url?
0
votes
1answer
13 views
Display label before UIWebView loads
When my app launches, the first thing the user is presented with is a web view in a UITabBar. Unfortunately, until the web page loads, they stare at a blank white screen minus the UITabBar. How would ...
0
votes
1answer
34 views
Share current URL of UIWebview to Facebook and Twitter
so I want to share the current URL of my webview to facebook and twitter using the social framework in Xcode, can anyone tell me how to do this here is my code
- (IBAction)social:(id)sender {
...
3
votes
0answers
40 views
Create category so that an object can become a delegate for another that normally wouldnt be able to
So I have a UIWebView, and it would make my life a lot simpler if it could be a delegate for an NSURLConnection. I have made a category like this
@interface UIWebView (NSURLConnectionDelegate) ...
0
votes
1answer
34 views
Display offline html5 website
For my business I need to be able to show a potential client a website I generate with a program called Pano2VR, which is a virtual tour program. This program takes some panoramic photos linked with ...
0
votes
1answer
20 views
Read html from current UIWebview
I have a UIWebview that shows some links. When I clic on a link, it sends me some JSON. In order to display the data that is sent to me, I need :
1) detect when a link is called
2) get the json
For ...
0
votes
6answers
45 views
UIWebview doesen't display PDF
I have used this code for displaying pdf on webview.
webview=[[UIWebView alloc]initWithFrame:CGRectMake(0, 0, 320, 480)];
NSString *path = [[NSBundle mainBundle] pathForResource:@"fonts1" ...