Tags / uiviewcontroller
To add a constant value in both portrait and landscape orientations, you can use the following code:
Understanding View Controller Communication in iOS: Best Practices for Passing Variables Between View Controllers
Understanding Objective-C Memory Management and the Dangers of Release Objects in `viewWillDisappear`: A Guide to Preventing Memory Leaks
Integrating Cocos2D with UIViewController in iOS 4.2 for Enhanced Graphics Performance