|Jan 24, 2013, 11:07 AM||#2|
I would have two seperate UIImageViews, one with the black and white version and one with color (and maybe a third with the red line.)
To generate the black and white version, I think you should look at CGFilters (I believe that's what they're called... I've experimented with them before but never used them in an actual app.)
Edit: oh, and I'd shift the bounds/frame around on whichever image is ontop when the slider is moving.
|Jan 24, 2013, 11:26 AM||#3|
|Jan 24, 2013, 02:11 PM||#4|
|Jan 24, 2013, 02:36 PM||#5|
As a bit of a tip.
Top View = Redbar that you can touch (touchesBegin/touchesEnd methods).
Next View Down = Color Image
Next View Down = BW Image (CIFilters).
This would be the easiest approach with out doing partial image filters. is to use two image that you change the bounds just like @ArtOfWarfare suggested.
Any questions we would be happy to answer but not writing all the code for you.
As another suggestion you may check out http://cocoacontrols.com. They may have something similar to what you want.
Also if you would like to go with the approach of using a single image and filters you will need to use CIFilter Maps.
Here is a sample control after a little google time. http://www.cocoacontrols.com/platfor.../wcbeforeafter
"Innovation distinguishes between a leader and a follower." : S.J.
Last edited by KoolStar; Jan 25, 2013 at 06:20 AM. Reason: Fixed from CGFilter to CIFilters they are under CoreImage.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|removing the last touched uiimage||tacotester1||iPhone/iPad Programming||9||Mar 12, 2014 02:36 PM|
|UIImage altertatives Stretchable UI?||Roman Oparin||iPhone/iPad Programming||1||Jul 29, 2013 03:34 AM|
|UIImage Effects||xArtx||iPhone/iPad Programming||12||Jun 21, 2013 09:11 PM|
|Draw Border around UIImage||newtoiphonesdk||iPhone/iPad Programming||1||Apr 16, 2013 06:00 PM|
|caching UIImage||daproject85||iPhone/iPad Programming||11||Nov 5, 2012 05:43 PM|
All times are GMT -5. The time now is 12:01 AM.