Posts

Post not yet marked as solved
5 Replies
4k Views
I have UIViewController subclass hosting WKWebView on its view’s entire bounds. Content inset of WKWebView scrollview is set to UIEdgeInsetsMake(200,0,0,0) to accommodate a header view.WKWebView is loaded with a webpage that contains single content editable div tag.Eg.<html><head><body><div contentEditible=‘true’></div></body></head></html>When I type some text in the editable area and start selecting the text by double tap and selection handle drag WKWebView’s scroll view starts to wiggle(moves up and down continuously).Is it okay to change content inset of WKWebView's scroll view ? If so, can someone please help here, am I missing something here ?I can share a sample project if required.Thanks
Posted
by mohanas.
Last updated
.
Post not yet marked as solved
2 Replies
1k Views
I get below error on iPhones using T-Mobile network when mobile data is enabled. iPhone using other service providers like Verizon does not encounter this issue. No issue is observed when connecting to WiFi as well. handleStreamError::UnderlyingError.domain=NSPOSIXErrorDomain, error.code=50, error.description=Error Domain=NSPOSIXErrorDomain Code=50 Network is down" UserInfo={_kCFStreamErrorCodeKey=50 _kCFStreamErrorDomainKey=1}"We setup a SOCKS proxy and make network requests by setting SOCKS Proxy as below,CFReadStreamSetProperty((CFReadStreamRef)readStream, kCFStreamPropertySOCKSProxy, proxyToUse);Callback set to CFReadStreamSetClient() receives below error on CFReadStreamOpen(),Inside handleNetworkEvent::kCFStreamEventErrorOccurred calling handleStreamErrorhandleStreamError::UnderlyingError.domain=NSPOSIXErrorDomain, error.code=50, error.description=Error Domain=NSPOSIXErrorDomain Code=50 Network is down" UserInfo={_kCFStreamErrorCodeKey=50 _kCFStreamErrorDomainKey=1}"Above request is made from Notification Extension and it fails. We make a similar request from App side and it works without any issue.Could someone please help me understand what might be going on here or suggest how to debug this issue further ?Devices: iPhone XR, iOS 12.x, 13.x
Posted
by mohanas.
Last updated
.