I am trying to create a graphing calculator for the iPad. On the portrait view there is a normal calculator and when rotated it updates the view to a graphing calculator.
My problem is that I have two views, one portrait and one landscape. The landscape has a graph but once the landscape has rotated to portrait and back the graph doesnt update itself with setneedsdisplay
Any help would be appreciated.
Thanks.