Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-28-2009, 11:15 AM   #2 (permalink)
RickMaddy
Registered Member
 
RickMaddy's Avatar
 
Join Date: Oct 2008
Location: Denver, CO
Posts: 2,121
RickMaddy will become famous soon enough
Default

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.
RickMaddy is offline   Reply With Quote
 

» Advertisements
» Online Users: 474
20 members and 454 guests
7twenty7, acegames, baja_yu, buggen, BumChinBooth, ChrisYates, dbramhall, Duncan C, Free App Monster, ioani, jbro, lemonberry, LunarMoon, monu_rastogi, muhimranss, nyoe, orninn, QuantumDoja, TheTakeOver, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,634
Threads: 94,094
Posts: 402,795
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nyoe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:07 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.