Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty launcher view in SplitView #264

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

Empty launcher view in SplitView #264

trueinsider opened this issue Aug 16, 2012 · 8 comments

Comments

@trueinsider
Copy link

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
Copy link
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
Copy link
Author

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

@jverkoey
Copy link
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
Copy link
Author

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

@jverkoey
Copy link
Owner

jverkoey@gmail.com

@jverkoey
Copy link
Owner

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

Xcode
SDK
Device
Device SDK

@trueinsider
Copy link
Author

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
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants