Xcode 11: How to enable/fix live Interacting preview option of Xcode (for attached live preview on apple device)? - ipad

I am trying to get Interaction of my swiftUI interface live on my attached iPad Pro(Running iOS 13) but its not working. It can be seen in screenshot that it is (gray scaled) disabled (in WWDC it was blue). Is this a bug or I am missing any step.
1[]

Related

iOS Simulator 13.2.2 wallpaper looks strange

Since I've switched to XCode 11 and iOS 13.2 suddenly my Simulator wallpaper looks a bit like there are only 16 Bit colors or too much contrast. Apps and Photos are looking normal, appears in light and dark mode, only the wallpaper. I've installed new XCode 11.2.1, resetted the Simulator, restarted my Mac multiple times. But all Simulators are looking the same (iPad, iPhones)
Did anyone experience the same?
Did I hit accidentally some settings (I 've tried to switch all available menu items like graphics quality etc.)
Click "Hardware" when simulator is selected and then click "erase all content and settings"
There is an option in Display and Text set in a simulator called "Smart Invert"
you can change it and wallpaper gets change.
Turns out the wallpaper on the iOS 13 appears dark because of the new dark mode feature that has been introduced in iOS 13 and iPadOS 13. The operating system makes the wallpaper dark or dims it in order to make the background image easier on the eye for users who are using the dark mode.
But still the question remains how to disable "Dark Appearance Dims Wallpaper", because simulator doesn't have wallpapers menu in settings

Screen Sharing in iOS using opentok

Hello i am using opentok for screen sharing.Everything is working fine but one issue is i am facing it works correctly in iOS simulator mean screen is sharing perfectly but in real iOS device screen is not sharing black screen is appearing on other device.
When using screen sharing you can share the contents of a given UIView inside your application. Due to iOS security restrictions you cannot share the content of any other view outside your application. (If you send your application to the background the other end will receive a black screen since the view you are sharing is not longer being rendered)
Please take a look to the screen sharing sample for more details: https://github.com/opentok/opentok-ios-sdk-samples-swift/tree/master/Screen-Sharing

iOS 11 Black Bar on iPad when running iPhone App

I submitted an update to my iPhone only app recently. However, it was rejected with this explanation:
Guideline 2.4.1 - Performance - Hardware Compatibility
We noticed that your app did not run at iPhone resolution when
reviewed on iPad running iOS 11.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise your app to ensure it runs and
displays properly at iPhone resolution on iPad. Even if your app was
developed specifically for iPhone, users should still be able to use
your app on iPad.
Resources
For information on iOS device screen sizes and resolutions, please
review the iOS Human Interface Guidelines as well as Points versus
Pixels in the View Programming Guide for iOS.
You may also want to view Size Classes and Core Components for more
information about designing apps for multiple screen sizes.
I'm using a Launch Screen.storyboard, so there shouldn't be any issues with displaying, but I'm seeing a slightly transparent black bar at the top of my app, covering a portion of it.
What am I doing wrong? How do I remove it?

macOS 10.12 and iOS 10 - Obscuring portions of a screenshot?

On both macOS and iOS, when a user takes a screenshot of a video file playing within iTunes / the TV app, the screenshot is obscured and the media player layer appears as a solid black box in the screenshot as shown here:
iOS:
macOS:
I have read in other posts that it is not possible to obscure/prevent the user from taking a screenshot on iOS devices; however, as shown in these images, Apple appears to be using some method to obscure the content of the video in the screenshot file.
In these cases, how is the app managing to obscure the video content within the screenshot?
For MacOS it's pretty easy... set the window level to be above a certain point, for example in one of my apps where I disallow screenshots, I do this (in Objective-C):
windowLevel = CGShieldingWindowLevel();
[myWindowOutlet setLevel: windowLevel];
For iOS it's trickier. You can tell when a screenshot has been taken, but there's no official API to stop it from happening. One person on Apple's developer forums suggested to call "touchesCancelled"

Use User Wallpaper as Background in App iOS 7

So, I was using the Harmony Link app for iPhone with iOS 7, and a very cool visual effect occurred, my background showed up as the background to the window and it even had parallax motion. I noticed a similar occurrence in the Newsstand app.
Does anyone have any ideas on how to import the user's background into an iOS app? (Possibly even with parallax motion?)
Thanks.
I have seen other posts which do not address this question directly.
You can make your application's window transparent as described in this post: iOS 7 transparency but be careful as this is a non-public API.

Resources