02-28-2009, 11:15 AM
|
#2 (permalink)
|
|
Registered Member
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
|
The 'drawAtPoint method can only be used with a graphics context typically obtained from a view's drawRect method.
For what you want to do the easiest approach would be to put the UIImage in a UIImageView and set the image view's frame to match the location it should be displayed.
I would add the image view as a subview of the same view you added the text view. That way the "ball" can easily appear outside or on the edge of the text view in addition to inside the text view.
|
|
|