Posts

Post not yet marked as solved
1 Replies
324 Views
Hi,I would like to capture a screen of my Apple TV device connected to my Mac (10.11.4) via USB cable.When I choose New Movie Recording in QuickTime Player I can see and choose Apple TV as Camera & Audio input sources.When I try to do the same through[AVCaptureDevice devices]I can see only my external camera. How do I set the Apple TV as a capture session input source? What is the way to do it?Thanks,Nava
Posted
by navac.
Last updated
.
Post not yet marked as solved
1 Replies
1.5k Views
For some reason we cannot force mobile site presentation in WKWebView on iPad. We tried different things like installing different customUserAgent on webView, or using   (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction preferences:(WKWebpagePreferences *)preferences decisionHandler:(void (^)(WKNavigationActionPolicy, WKWebpagePreferences *))decisionHandler  API_AVAILABLE(ios(13.0)){     preferences.preferredContentMode = WKContentModeMobile;     if (@available(iOS 14.0, *)) {         preferences.allowsContentJavaScript = YES;     } else {         // Fallback on earlier versions     }     decisionHandler(WKNavigationActionPolicyAllow, preferences); }  Nothing seems help and the site shows as desktop which hides all kinds on buttons on the bottom of the page. Safari displays the site perfectly as a mobile version and resizes it properly. What can I do else in order to show the site as mobile?
Posted
by navac.
Last updated
.