objective c - In iOS Development, using Core Graphics and/or Quartz 2D, how can I draw a circle filled with a gradient in such a manner that it looks like a sphere? - so far have looked @ using cgcontextdrawlineargradient() , cgcontextdrawradialgradient(), however, former can't figure out how create gradient sphere, , latter, can't figure out how create gradient shape of sphere, because every time try, turns out in shape of total cylinder instead of sphere. the code using current draw 2d circle shown below. utilize gradient or other method possible using core graphics and/or quartz 2d fill circle in manner makes sphere. current code drawing circle: cgcontextref ctx = uigraphicsgetcurrentcontext(); float x = 20.0; float y = 20.0; float radius = 12.5; cgcontextfillellipseinrect(ctx, cgrectmake(x, y, radius, radius); p.s. - above code works supposed to, in case there errors, they're errors while typing question, not while typing code actual file. i be...