Empty launcher view in SplitView #264

Closed
trueinsider opened this Issue Aug 16, 2012 · 8 comments

2 participants

@trueinsider

What I did?

  • I created new project with master-detail template
  • I added Core, PagingScrollView and Launcher features to it
  • I added Launcher to the detail controller

What I got?

Launcher is kinda stuck on start of the app. If I'll touch (just simple touch) screen then it'll scroll to the first page. But before touching it like displays the "zero page" to me (something to the left of the first page).

@jverkoey
Owner

Make sure that you're forwarding the autorotation methods to the launcher view.

- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
  [super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];

  [self.launcherView willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
}

- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
  [super willAnimateRotationToInterfaceOrientation:toInterfaceOrientation duration:duration];

  [self.launcherView willAnimateRotationToInterfaceOrientation:toInterfaceOrientation duration:duration];
}
@trueinsider

I wasn't forwarding this methods before but now I forwarding it. Result is the same.

@jverkoey
Owner

Can you email me a zip of the project so that I can test it? Also: are you building this off of the latest Nimbus master?

@trueinsider

Sure I can. Yes, I am using latest Nimbus master.

@jverkoey
Owner

It looks like it's working fine for me. What are you using for:

Xcode
SDK
Device
Device SDK

@trueinsider

Currently I am using XCode 45-DP3 and iOS SDK 6.0b3. But I noticed this behavior when I was at work. There I have XCode 4.3 and iOS SDK 5.1. Device in both cases is iPad 2 GSM with iOS 5.0.

@trueinsider

Tested again exactly the same project that I sent you. This is how app looks exactly after start: http://imgur.com/AQOC3 Then when I touch the screen it becomes: http://imgur.com/Pd9Us

Xcode: 4.3.1 (4E1019)
SDK: iOS SDK 5.1
Device: iPad 2 Wi-Fi + 3G (GSM)
Device Software: 5.0.1 (9A405)

@jverkoey jverkoey closed this Feb 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment