uiwebview

Loading Microsoft Office documents in WKWebView

戏子无情 提交于 2020-07-09 16:31:41
问题 I have been using UIWebView to display Microsoft Office documents (Word, PowerPoint, Excel) in my application for a while but Apple has recently deprecated the UIWebView class. I am trying to switch to WKWebView but Word, Excel, and Powerpoint documents are not rendering properly in WKWebView. Using UIWebView to display an Excel document (worked great): let data: Data //data is assigned bytes of Excel file let webView = UIWebView() webView.load(data, mimeType: "application/vnd.openxmlformats

Loading Microsoft Office documents in WKWebView

a 夏天 提交于 2020-07-09 16:26:07
问题 I have been using UIWebView to display Microsoft Office documents (Word, PowerPoint, Excel) in my application for a while but Apple has recently deprecated the UIWebView class. I am trying to switch to WKWebView but Word, Excel, and Powerpoint documents are not rendering properly in WKWebView. Using UIWebView to display an Excel document (worked great): let data: Data //data is assigned bytes of Excel file let webView = UIWebView() webView.load(data, mimeType: "application/vnd.openxmlformats

Set Xamarin WebView Cookie to seamlessly authenticate user without re-entering credentials

半腔热情 提交于 2020-06-29 06:05:42
问题 I have a Xamarin forms mobile app where the user authenticates using a post REST API and I am going to save the returned ASP.NET session ID and the authentication cookie to later pass it to my WebView in the main page to load a web page that needs authentication. For this, I created a custom web view renderer and followed some guides that suggested how to pass the cookie in the cookie container to the WebView for each request. But that does not work and I get to the login page of our website.

ITMS-90809: Deprecated API Usage - existing app that use UIWebView are no longer accepted

瘦欲@ 提交于 2020-06-27 07:17:21
问题 ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. I am trying to update an existing app, not a new app. Still I am not able to upload the app. I got this error via email: We identified one or more issues with a recent delivery for your app, "App Name" 20202.421.1 (6). Please correct the following

MathJax: Hiding Mathjax loading process

旧城冷巷雨未停 提交于 2020-06-09 16:49:32
问题 I have Mathjax in my code that I show in UIWebView . while Mathjax is loading it shows the loading process n the left down corner of my UIWebView same as below pics, that i want to hide them. I do not want my user see them. note : dummy solution is showing a fake "Loading" for some second that loading process finish and then show UIWebView . I really do not want to use this way. 回答1: In your MathJax configuration, you can add this: messageStyle: "none" According to the documentation, this

Replaced UIWebView with WKWebView, but still same error from Apple

余生颓废 提交于 2020-06-01 07:38:26
问题 I have removed the UIWebView from my app. But when I uploaded the iOS app on iTunes I still got the same message "Re: ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs" I have searched for UIWebView globally in the project and there are no search results. That simply means UIWebView is removed. I have updated the pods too. I have verified the presence of UIWebView in the app archive using below code: grep -r "UIWebView" . The response is

How to find UIWebView in Project and replace it with WKWebView?

妖精的绣舞 提交于 2020-05-29 05:37:32
问题 We identified one or more issues with a recent delivery for your app, "App Name" 1.0 (5.0). Please correct the following issues, then upload again. ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview). Best regards, The App Store Team Getting above email from no_reply@email.apple.com while uploading build. I've not used

How to find UIWebView in Project and replace it with WKWebView?

被刻印的时光 ゝ 提交于 2020-05-29 05:36:34
问题 We identified one or more issues with a recent delivery for your app, "App Name" 1.0 (5.0). Please correct the following issues, then upload again. ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview). Best regards, The App Store Team Getting above email from no_reply@email.apple.com while uploading build. I've not used

Apple won't accept my app even though I'm not using any UIWebView [duplicate]

删除回忆录丶 提交于 2020-05-21 01:58:45
问题 This question already has answers here : ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs (12 answers) Closed 5 months ago . I'm having a problem uploading my app to the AppStore. Apple says that I am using a deprecated API, UIWebView . But I checked my whole project and there is no UIWebView . Has anyone encountered this error? Thanks. Here's apple's message: ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of

UIWebView get current URL of SPA (single page application) website

白昼怎懂夜的黑 提交于 2020-05-17 06:06:21
问题 I want to get my UIWebView 's current location when browsing an SPA (single-page-application) website. (Yes, I am intentionally working with UIWebView instead of WKWebView .) I know that there are multiple approaches to getting the current URL, such as: webView.request?.url?.absoluteString webView.request?.mainDocumentURL?.absoluteString webView.stringByEvaluatingJavaScript(from: "window.location") However, for an SPA website, for each of the approaches above, I am getting the initial url,