A class used to display web content from within an iOS application.

learn more… | top users | synonyms

0
votes
0answers
8 views

uiwebview youtube link opens youtube page instead of iphone player

I'm using a function to get a list of youtube results. When I click on one of the results in my uiwebview it tries to open a youtube page instead of opening up the video in the iphone movie player. ...
0
votes
0answers
10 views

UIWebView inside UITableViewCell flash white and incorrect size

this is the repo i made. https://github.com/lifesaglitch/UIWebViewFlashWhite The basic idea is: I have an expandable table view, with 2 cells: header cell and content cell. when click on header ...
0
votes
1answer
19 views

page not loading in uiwebview storyboard

I am trying to call a method from another UIViewController which takes in a string(url) as parameter and opens it in UIWebView. Below is the code of the IBAction in the UIViewController class: ...
0
votes
0answers
19 views

Like box facebook ios

I have a html page that contain only a Facebook like box. When i load the url of the page in safari, it work perfectly, but when i load it in UIWebView always i have white screen. Can some one help ...
2
votes
2answers
42 views

Loading a UIWebview when pressing a UIButton

I am developing a simple testing app for iPhone. I want to click a button to change the URL of webview, then load the new URL. Here is my code: NSString *nurl = [NSString stringWithFormat: ...
1
vote
0answers
11 views

Twitter & Facebook access to webView

I am making an iOS app in which users login to Facebook and Twitter through the iphone accounts. However, once they are logged in, if I load a Webview with a url leading to Twitter or Facebook, the ...
0
votes
1answer
21 views

iOS: Load UIWebView automatically

I have two viewControllers. In my first viewController I prepare a web address and as soon as I hit a button the second view controller should open the address in a web view. I am not sure how to load ...
0
votes
0answers
26 views

URL is not loaded after download from AppStore

I have a little UIWebView on my app where I load image from NSURL. Kind of a banner. It works on Emulator also when i deploy app on test Device. I submitted my app to AppStore and they approved it. ...
0
votes
0answers
11 views

Opening ads within UIWebview?

Is it possible to open ads from either Admob or iAd ads in a UIWebview within the same app rather than in safari?? cheers
0
votes
0answers
11 views

ADFS login using UIWebView

In Safari ADFS login is working. Unfortunately using UIWebView it does not work (the credentials dialog does not appear). How can this issue be solved? Thanks for your help in advance!
-1
votes
1answer
25 views

Load only a div from website in UIWebView [closed]

I'm developing an iOS 6 app and I'd like to load only a div from a website in a UIWebVIew, just like in jquery .load(url #container). Is this possible?
0
votes
1answer
5 views

scroll div but not entire webview

Is it possible to prevent a uiwebview from scrolling around, but to also have a div that can scroll? I have a jquery navbar and want a scrollable div underneath with many images. I'd like to be able ...
1
vote
0answers
21 views

Unable to display macro enable word file in UIWebview

I'm trying to display MS office files(word,powerpoint,excel) using UIWebview some of the files have macros enable UIWebview is unable to display these files any idea why this happen? is there a way to ...
0
votes
1answer
17 views

UIWebView local Resource main bundle html file

I've tried almost every way of loading an html file into an UIWebView that has images and resouces in the main bundle. The web page always loads but I can never get the images to show up. NSString ...
0
votes
2answers
24 views

Best way to hide content from UIWebview?

I have a UIWebView into a mobile website that I run, and would like to hide some links when it's seen by the WebView--but not mobile Safari. It seems like there's several approaches to this: ...
1
vote
0answers
17 views

Video Embedded in HTML5 won't play in UIWebView

I am loading up a website that has a video embedded in the code on the 5th 'page'. This video plays just fine in the full Safari, but I'm having an issue in my app. The code for loading it is: - ...
0
votes
3answers
30 views

UIScrollView subviews contents size issue

I am using a scrollView, in which i have added some static content in a container view and below this container view i have added a web view and added both these views into my scrollView, I dont want ...
0
votes
0answers
26 views

Load iFrame in iOS UIWebView

I have a local html iframe code. My Problem is The i frame content not load in IOS UIWebView. My Code is <iframe style="width: 100%; height: 100%; border: medium none; -moz-user-select: none; ...
1
vote
0answers
20 views

How can you handle touching a link within a UIWebView when you have a UIView overlay directly on top of it?

I've been researching how to use a UIWebView embedded in a UIScrollView for a while now and cant seem to find an easy fix to my problem. I'm using a UIWebView because a UITextView, although allowing ...
0
votes
1answer
18 views

UIWebView hidden by keyboard

I have iPad app with view and uiwebview in it. It is on the bottom with size smaller than keyboard (e.g. 300x200). In webview is page with form loaded. When I tap into some textfield, keyboard pops ...
0
votes
0answers
15 views

leak found in webcore?

I am adding webview to tableview cell, tableview is one of a subview of scrollview, scrollview is enabled paging so multiple table view added in scrollview , I try to run using instruments, got the ...
0
votes
0answers
17 views

UIWebView - How to prevent selection from jumping off screen/jumping outside of area, or limit selection to specific area

When using UIWebView and CSS3 Columns, if I select text that is split/broken by a column break, then that UIWebView has a seizure and starts behaving...erratically. Since the text or element is ...
0
votes
2answers
39 views

Display a local web page in a UIWebView

I am trying to display a local web page in a UIWebView. The local web page is a PHP file and stored in the Supporting Files folder then a folder I created called webpages. I tried this code but it ...
0
votes
0answers
22 views

Playing Youtube Video from UIWebView inside UIModalPresentationPageSheet limits full screen to size of modal view

I have UIWebView inside a modal popover that's a PresentationPageSheet style. When Youtube videos are played in full screen the expected behaviour is for them to popover full screen. Instead they just ...
1
vote
1answer
25 views

Simulate tap in iOS webview with button

I am trying to build an app for people with disabilities who are unable to use gestures such as swipe and pinch. I realise there is no way to simulate taps inside iOS however is it possible to somehow ...
0
votes
0answers
17 views

Blank page browsing a mobile site in a webview

I've an app that's on the AppStore from an year ago. Initially all was working properly. In the app there's the possibility to check the weather conditions of the sea, and I use mobile.ilmeteo.it. ...
0
votes
0answers
20 views

That is IOS's code ,how to make it in Android [duplicate]

(void)webViewDidFinishLoad:(UIWebView *)webView { NSString *lJs = @"document.documentElement.innerHTML"; NSString *lHtml = [webView stringByEvaluatingJavaScriptFromString:lJs]; ...
0
votes
1answer
22 views

uiwebview interrupt vs error

I have an UIWebView in my iOS app, which displays a very long web page. If the page fails to load for some reason, I display an alert in my webView:didFailLoadWithError: method. However, it is ...
0
votes
2answers
40 views

How to resize webview according to screen resolution in iphone app?

I am using storyboards. I am unable to resize webview according to the screen size in my storyboard. I want header to be of same size for both resolution but change the height of webview according ...
0
votes
1answer
20 views

creating a UIWebView dynamically on a UIViewController

I need to fill UIViewController with UIWebView dynamically. I am using the UIWebviewController to load automatically on iPhone and iPad. I am using a UINavigationController to push the ...
1
vote
1answer
30 views

Zooming and UIWebView

I am having a problem with UIWebView. My application displays pdfs from local memory and displays them in a webView in fullscreen mode. By default, when the page loads, the content is apparently set ...
0
votes
1answer
51 views

webViewDidFinishLoad called multiple times for single loadrequest

I have been using webView delegate successfully from long time. But recently I faced strange issue with this delegate. In my current project I am trying to access my router from webview. I am passing ...
0
votes
2answers
50 views

UIwebview automatically shrinks even after assigning height from code

I have a UIwebview inside a UIscrollview. I have made the View controller size to freedom to allow scrollview. I have given the height of scrollview = 1000 and webview = 200 in storyboard. Now, in ...
0
votes
0answers
18 views

How to get Google Plus login information from GTMOAuth2Authentication and GTMOAuth2ViewControllerTouch and set user as logIn in UIWebView

In my iphone application, I am using Google Plus SDK to sign in for my login page of app to allow user to login with google plus.But when user is in another View Controller and when user is pressed ...
6
votes
1answer
106 views
+100

How to programmatically enter 'selection mode' in a UIWebView?

I'm trying to create an iBooks like experience, where users can highlight text within a document. To do that, I'm using a UIWebView with my document in an HTML format. I've figured out how to ...
0
votes
1answer
22 views

TouchesBegan: in UIWebView

Im trying to add gestures in my web view, like Mercury Web Browser. Im trying to use touches to detect if 2 fingers are tapped on screen and disable scrolling of web view. Is this possible by the ...
0
votes
2answers
58 views

Open URLs in a single UIWebView

I tried to open multiple URLs in a row in a single UIWebView but it only open the last URL (last member of the macArray). - (IBAction)openURL:(id)sender { macArray = [NSArray ...
0
votes
0answers
22 views

Problems implementing JSBridge-to-Cocoa(JS to Obective-C interaction)

Hi i am trying to make a small demo and for that I need to pass a url from webview to objective-c but it doesn't work. I have added the required files to the project and code snippets are given below. ...
0
votes
1answer
34 views

How to display RSS entry from table view cell in a web view

I am using iOS 5 & Storyboard.I am able to display the RSS feeds from "http://feeds.reuters.com/reuters/INcricketNews" in a tableView.However i am not able to display an entry from a particular ...
0
votes
1answer
27 views

Why does my video play instantly in a UIWebView but takes forever to buffer and load with MPMoviePlayerController?

I have a large .m4v video file on an HTTP server. The video1.m4v file is 2GB in this example. As an example, this is the URL I want to hit: http://www.myurl.com/movies/video1.m4v When I load that ...
1
vote
1answer
22 views

Is there a way to get the length of a video playing in my UIWebView? Can I start my movie at a certain position?

I think the current answer for iOS 6 and less is NO, but here's my question anyway: I want to open my movie via a UIWebView at 5 minutes into the video... is this possible? [webView ...
0
votes
0answers
21 views

How to get my iOS app to pass a pre-filled shopping cart to an eCommerce website

I am writing an iOS app that allows a user to browse products, save them to a shopping cart inside the app and then complete the checkout. My app is native iOS, and I have implemented the product ...
2
votes
1answer
30 views

Adjust attribute of html textarea dynamically?

I have the following textarea: <textarea id="edit-note-text" autocorrect="on"><%= text %></textarea> While this text area is in use or, in other words, while someone is typing, I ...
0
votes
1answer
30 views

iOS - UIWebview - play local video (downloaded from the internet)

I am trying to pre-cache my UIWebView html5 videos. I am downloading the videos to "file://localhost/var/mobile/Applications/{ID}/Documents/VideoName.mp4" and I am sending this link to Javascript ...
0
votes
1answer
34 views

iOS iPad archtecture for vertically scrolling book app with bookmarks

This app involves converting a book into an app. It has rich text (headings, bold, bullets, etc.) and instead of a page flip UI, it would be built in a split view controller. The master (left ...
1
vote
1answer
35 views

How to pass an Object from Objective C to javascript

For passing the variable we are using UIWebView' method stringByEvaluatingJavaScriptFromString: And how can I pass an Object?
0
votes
1answer
18 views

How to detect DOM mutation in a UIWebview?

Is there a good way to detect changes made by a script to the DOM ? Mutation observers don't seem to be available for Webkit on iOS.
0
votes
0answers
48 views

UIWebView makes app crash when loading another URL

During the first time when I load a URL, it works perfectly but after that when I load a new URL, the app crashes. My class is a subclass of UIView. @implementation web { UIWebView * wv; BOOL ...
0
votes
2answers
38 views

UIWebview captures screenshot only for .doc files

Trying to create thumb pictures of documents that has been opened in my app with openurl. My app can open and save .doc .xls and .pdf file, but when I try to save the screenshot it can correctly save ...
0
votes
2answers
44 views

Programmatically call gesture on ios

I would like to create an application that can call a gesture (swipe, pinch etc) without having to physically do the gesture. The button would sit next to a webview to allow the gesture to be called ...

1 2 3 4 5 114
15 30 50 per page