ios9

Why is SFSafariWebViewController not sharing cookies with Safari properly?

爱⌒轻易说出口 提交于 2021-02-17 21:58:26
问题 I created an incredibly basic app which includes a SFSafariViewController pointing at the URL http://www.w3schools.com/js/js_cookies.asp . This is a test website for reading and writing cookies. I then loaded the same website into Mobile Safari, and added one cookie. I switched to my app, read the cookie, it's there. I go back to Safari, add another cookie, go back to my app, but the second cookie hasn't appeared. I refresh the pages, no difference. Go back to Safari and read the cookies,

iOS9 WKWebview didReceiveAuthenticationChallenge called with host null

风格不统一 提交于 2021-02-08 06:33:14
问题 I am using WKWebview (iOS 9) to load https://self-signed.badssl.com/ While as a delegate didReceiveAuthenticationChallenge is getting called, I'm receiving incomplete protectionSpace details e.g. host is null & authenticationMethod is NSURLAuthenticationMethodDefault (it should be NSURLAuthenticationMethodServerTrust ) po challenge.protectionSpace <NSURLProtectionSpace: 0x7ff30c40fb90>: Host:(null), Server:http, Auth-Scheme:NSURLAuthenticationMethodDefault, Realm:(null), Port:0, Proxy:NO,

iOS9 WKWebview didReceiveAuthenticationChallenge called with host null

不打扰是莪最后的温柔 提交于 2021-02-08 06:33:10
问题 I am using WKWebview (iOS 9) to load https://self-signed.badssl.com/ While as a delegate didReceiveAuthenticationChallenge is getting called, I'm receiving incomplete protectionSpace details e.g. host is null & authenticationMethod is NSURLAuthenticationMethodDefault (it should be NSURLAuthenticationMethodServerTrust ) po challenge.protectionSpace <NSURLProtectionSpace: 0x7ff30c40fb90>: Host:(null), Server:http, Auth-Scheme:NSURLAuthenticationMethodDefault, Realm:(null), Port:0, Proxy:NO,

WCSession Failing to Activate

筅森魡賤 提交于 2021-01-27 07:28:49
问题 I am having a problem with the WatchKit Connectivity Session failing to activate when I call the session.activateSession() method. This is the code I am using to set up the session. if (WCSession.isSupported()) { session = WCSession.defaultSession() session.delegate = self // conforms to WCSessionDelegate session.activateSession() print("Session has been activated") } However, I have placed a breakpoint on the print line and when I inspect the session object, it says the sessionActivated

WCSession Failing to Activate

蓝咒 提交于 2021-01-27 07:26:15
问题 I am having a problem with the WatchKit Connectivity Session failing to activate when I call the session.activateSession() method. This is the code I am using to set up the session. if (WCSession.isSupported()) { session = WCSession.defaultSession() session.delegate = self // conforms to WCSessionDelegate session.activateSession() print("Session has been activated") } However, I have placed a breakpoint on the print line and when I inspect the session object, it says the sessionActivated

WCSession Failing to Activate

自古美人都是妖i 提交于 2021-01-27 07:25:45
问题 I am having a problem with the WatchKit Connectivity Session failing to activate when I call the session.activateSession() method. This is the code I am using to set up the session. if (WCSession.isSupported()) { session = WCSession.defaultSession() session.delegate = self // conforms to WCSessionDelegate session.activateSession() print("Session has been activated") } However, I have placed a breakpoint on the print line and when I inspect the session object, it says the sessionActivated

Phone links are not working inside iframe though it does work in div in iOS9 web. how to make phone links make work in iOS9 safari?

橙三吉。 提交于 2020-12-08 06:33:26
问题 Hi I was trying phone links inside iframe in iOS9. Phone application doesn't open up in safari in iOS9. When i tried same link inside then it is working there. I was trying below anchor tag. This code opens up phone application when put inside div. But same code doesn't work inside iframe. Please suggest how does it make to work inside iframes as well? Please use below code to see phone link outside iframe <a href = "tel://1-408-555-5555">1-408-555-5555</a> Please use below code to verify