drawrect
Drawing a large number of lines (CGContextBeginPath) on an iPad
I\'m trying to make an ipad application that draws alot, but I really mean alot of lines on stage (10.000+)[详细]
2023-02-03 00:24 分类:问答drawRect: speed and CGContextDrawRadialGradient (super slow?)
I\'m having problems with my UIView subclass\' drawRect: function. I use CGContextDrawRadialGradient() in it, and it.[详细]
2023-01-30 00:44 分类:问答Adding a drop shadow to NSString text in a drawRect: method without using UILabel
I\'d like to add a drop shadow to text drawn using the iOS supplied NSString (UIStringDrawing) category method:[详细]
2023-01-29 17:32 分类:问答draw outside of UIView's bounds from drawRect
My question is very simil开发者_如何学运维ar to this one Not drawing outside bounds when clipToBounds=NO which received no clear answer.[详细]
2023-01-28 10:19 分类:问答Trying to add a subview, drawRect isn't called
I\'m trying to add a subview to my main view. Here\'s the relevant code from my viewController: - (void)viewDidLoad {[详细]
2023-01-27 11:40 分类:问答Draw simple Text in a MKPolygonView
Hello I try to draw text in a MKPolygonView. I made a subclass of MKPolygonView and added it to my MKMapView. The Polygon shows up correctly, but I can\'t see the Text. Can anyone help me?[详细]
2023-01-25 07:24 分类:问答drawRect is not being called
I need to draw an image in a rectangle so for that am using drawRect method.i observed that it is not being called.The output i can see only the blank screen.Am using MAC OS and i need to test the App[详细]
2023-01-23 05:18 分类:问答draw line/point on existing UIView without drawRect?
I crea开发者_如何学Goted line chart. Now I need to display point on this chart when I tap the screen.[详细]
2023-01-22 05:36 分类:问答Adding outline shadow to a UIView which is iOS 3.0 compatible
I have two UIViewControllers A and B and they are added as subviews in the AppDelegate with B on top of A.[详细]
2023-01-21 19:27 分类:问答Custom UITableViewCell and animation on setSelected:animated:
I have a UITableViewCell subclass that does its drawing in a drawRect: method. The whole rectangle is custom drawn, including the background.[详细]
2023-01-20 21:47 分类:问答