I have a UIViewController and in willRotateToInterfaceOrientation, i am calling [self view] setNeedsLayout];
I am trying to draw a line on an UIImage with the help of a dataBuffer when a button gets touched, but the drawRect: .. methode doesn´t get called. (so, the line i want to draw does\'t appear)
I wrote a little custom-view-application using cocoa. And later (yes, i know it\'s bad) I just asked myself: Would this work for cocoa touch as well? Of course id did not work instantly, I had to chan
Does anybody here know whether setNeedsDisplay results in an immediate drawRect call and immediate updatin开发者_运维知识库g of the screen?
In my app I\'m using UINavigationController. I have a \"parent\" UIViewController and a \"child\" UIViewController running on the stack. The user can do some settings on the child that are later on su
I am using a window that uses a subclass of NSView.Part of it is drawn when the program starts, another part needs to be drawn when the user clicks on a button in another window.The code for the other
I\'m trying to refresh my main view in this code. It shows the right sub-view, but it\'s keeping the other views already shown. I already tried setNeedsDisplay and setNeedsLayout but no success.
I\'ve wrote this code... plotView is drawn programmatically by drawRect method... the problem is when I change the device orientation... all the views are not scaled properly... what\'s the matter wit
In my iPhone application, I have a secondary thread that I have made for performing tasks in the background, and every few milliseconds, the view must be updated (not from the main thread). I have tri
I am having trouble accessing the values in an array,the array looks like this, Array ( [0] => Array