Masking screenshot for iOS in Flutter Application - ios

I've been trying to disable screenshot and screenrecording in my iOS app. I know disabling is not an option but I would like to mask the screenshot possibly with a black background or something along those lines.
I tried the code from this thread: Flutter: disable screenshot capture for app , but the screenshot still captures the original screen.
Thank you for the help in advance

Related

I keep getting this dark black screen in my flutter app

Every page in my app shows black screen when navigated to, I want to believe this is just a minor issue, any help on why am getting this black screens that once worked would be highly appreciated.
My code is on this link:
https://github.com/Kelvinkins/MySnipets/blob/master/BlackScreenIssueInFlutter

How do I create an iPhone screenshot with the metal chrome around it

Anyone familiar with the old iOS Simulator from ~ 2/3 years ago, it included the (black or white) metal Chrome around the simulator.
This allowed you to take screenshots with the Chrome around it, which made for nice looking app store demo screenshots.
Is there an automatic way to do this, or a service that allows you to upload your screens and does it automatically? -- Otherwise I would have to resort to taking a screenshot, then adding the Chrome around it using something like Teehan & Lax's iPhone GUI PSD -- which is a lot of manual work.
Check out this link : https://developer.apple.com/app-store/marketing/guidelines/#images. In the second part of that passage there are some links to download different chromes image.
I did it for http://mobilito.net/: use a picture of an iPhone as a background image an put your screenshot as an image on top of it. You just have to get the right dimension for the image to fit the screen on your iPhone picture.
Felix Krause has an excellent command line tool for this, go take a look.

UIVisualEffectView vibrancy not showing on device(but showing in simulator)

I am running my test app on the 4s simulator and iPhone 4s(device). Any ideas why the vibrant text disappears on the device?
Here are the photos with the problem:
simulator:
device:
Any help appreciated!
I have this problem too, with image view as content. Somehow I got it works after changing my image color to white (it's black before). Try changing your text color to pure white.
I was scratching my head for the same problem. The solution has been given in the comments by #TonyMkenu : the flag UIAccessibilityIsReduceTransparencyEnabled() prevents the blur and vibrancy to work (rendering as an opaque very light ugly gray).

App's icon color is always darker on the iPhone than it is on the iOS simulator or when viewing the image online

I have been trying to solve this app icon color issue all morning. I am still experiencing this after going through both of these highly recommended photoshop/iOS design articles:
http://davidmckinney.com/blog/2013/12/31/designing-iphone-apps-how-to-setup-photoshop
http://bjango.com/articles/photoshop/
Here is the problem that I am having:
When creating my app's icon, the color that I see in Photoshop is the exact same color that I see in xcode's asset catalog. It is also perfect when I run the app on the iOS simulator.
However, when I run my app on my iPhone the app icon's color is always darker.
What's weird, is if I take a screenshot of my iPhone's screen and email it to myself, the color is correct! So for some reason the color is only darker when you are actually looking at the iPhone's screen.
Pardon my ignorance, but this is the first design I have ever done for an iOS app and I don't understand why this is happening or how to fix it.
EDIT: I am now using LiveView after reading this answer: https://stackoverflow.com/a/3597221/3344977
What's funny is no matter how hard I try I cannot get the color I see on my screen to appear on my iPhone screen. It's as if this shade of Pink I'm trying to use just isn't possible to render on an iPhone display.
This is because your iPhone and Monitor screens have different color calibrations (if that's the right term)
You're going to want to setup a color profile on your computer that matches the iPhone screens as closely as possible, and use that when developing icons.
for some reason the color is only darker when you are actually looking at the iPhone's screen
Consider turning up the brightness on your iPhone. Go to Settings->Wallpapers & Brightness to adjust it.
In any case, the issue isn't that the value of the color is changing on your device, it's just that that color value is being rendered differently.
Its because the resolution of your screen is different than your iOS device try it on other device

Phonegap application getting crash when entered in background mode

I'm working on application in ios using PhoneGap(1.9).Following are the issue's i'm facing with quiet few hours...
1)My application is getting crash when application enters in background mode.
2)Also,how to disable splash screen.I have deleted default.png image,but still it is showing splash screen with phonegap logo followed by white blank screen.
Thanks & regards.
I came across this question because I'm having the same problem with background mode.
However, regarding splash screen, I can tell you that you have to replace the specific file for the screen size. It generates images for all of the screen sizes and you have to replace them in the built folder, not just the original project folder (at least I seem to have to do this).
The built folder is at the path that should look like /MyProject/platforms/ios/www/res/screen/ios/[screen_specific_splash_screens]
Similarly I had to do the same for the icons:
/MyProject/platforms/ios/www/res/icon/ios/[screen_specific_icons]
Docs for these files (talks about which screen sizes):
http://docs.phonegap.com/en/4.0.0/config_ref_images.md.html

Resources