On Sat, 04 Aug 2012 00:39:43 +0700, Gerriet M. Denkmann
gerr...@mdenkmann.de said:
If I understand this correctly, I have to do:
create a view controller for my basicView (currently there is none) and
use [ basicViewController addChildViewController: sliderViewController ] and
not use [ self
I have a subclass of UIViewController which displays a small view in the center
of the display.
shouldAutorotateToInterfaceOrientation: returns YES.
The problem:
when I rotate the device, the centered view rotates as it should. But it also
changes its size to full-screen.
The (bad) workaround:
On Aug 3, 2012, at 8:34 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I have a subclass of UIViewController which displays a small view in the
center of the display.
shouldAutorotateToInterfaceOrientation: returns YES.
The problem:
when I rotate the device, the centered view rotates
On 3 Aug 2012, at 22:50, David Duncan wrote:
On Aug 3, 2012, at 8:34 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I have a subclass of UIViewController which displays a small view in the
center of the display.
shouldAutorotateToInterfaceOrientation: returns YES.
The problem:
On Aug 3, 2012, at 9:16 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
The code in basicView (an UIView) is:
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
if ( self.sliderView == nil ) // load nib
{
NSBundle *mainBundle = [
On 3 Aug 2012, at 23:59, David Duncan wrote:
On Aug 3, 2012, at 9:16 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
The code in basicView (an UIView) is:
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
if ( self.sliderView == nil ) // load nib
On Aug 3, 2012, at 10:39 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
1) adopt view controller containment and do this addition in the view
controller that owns basicView (which needs to be a subclass to do this
properly) of
If I understand this correctly, I have to do:
create a