On Sat, 04 Aug 2012 00:39:43 +0700, "Gerriet M. Denkmann"
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 addSubview: self.
On Aug 3, 2012, at 10:39 AM, Gerriet M. Denkmann 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 view controll
On 3 Aug 2012, at 23:59, David Duncan wrote:
> On Aug 3, 2012, at 9:16 AM, Gerriet M. Denkmann 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 9:16 AM, Gerriet M. Denkmann wrote:
> The code in basicView (an UIView) is:
>
> - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
> {
> if ( self.sliderView == nil ) // load nib
> {
> NSBundle *mainBundle = [ NSBundle mainBundle
On 3 Aug 2012, at 22:50, David Duncan wrote:
> On Aug 3, 2012, at 8:34 AM, Gerriet M. Denkmann 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 ro
On Aug 3, 2012, at 8:34 AM, Gerriet M. Denkmann 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 as it should.
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: