Drawing something in UIViewController?
Drawing something in UIViewController?
- Subject: Drawing something in UIViewController?
- From: Agha Khan <email@hidden>
- Date: Sat, 23 May 2009 21:12:16 -0700
Dear Sir:
I would like to draw some primitives to my UIViewController and at loadView I set it CGRect newRect = self.view.bounds; [self.view setNeedsDisplayInRect:newRect]; [self.view setNeedsDisplay];
and added -(void)drawRect:(CGRect)rect function.
It does not work. I also realized drawRect is a function of a UIView object.
How this can be done? My back ground is from Windows and this is my first application on IPhone.
My other question is how can I update the content of that UIViewController? Does this make any sense of this question?
Best regards Agha
Your help will be very much appreciated. :-) |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden