Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Joseph Hall
10,865 PointsQuestions on making a Mobile App that makes screen cracks less noticeable
Hi Everyone,
So I am building an app for client that is supposed to make screen cracks less noticeable, i.e making the screen at the portion lighter/darker. Does anyone know of an API that can make certain portions of a screen, given a rectangular bounds, change programmatically?
Robert Bojor
Courses Plus Student 29,439 PointsRobert Bojor
Courses Plus Student 29,439 PointsHi joseph,
I don't think something like that exists, and one explanation would be that you can't affect other apps, or even iOS from inside your app and force them to display a rectangle of different brightness / contrast while also displaying their content.
Maybe you can achieve this with a special background in iOS, but the app icons will still be on top of that background. Another solution would be an external one, i.e. plastic cover like the security covers that change tint based on the angle light hits it.