Comments (15)
Hi @drallgood
I added about 40 elements to the first and second section each of the sample project, and the table scrolls just fine.
Did you customize the control in any way?
from slideoutnavigation.
I'm using these options:
AMOptionsEnableShadow : @(YES),
AMOptionsUseBorderedButton : @(borderedButton),
AMOptionsEnableGesture: @(NO),
AMOptionsBackground: backgroundColor,
AMOptionsSelectionBackground: [UIColor colorWithRed:.298 green:.572 blue:.815 alpha:1.0f],
AMOptionsHeaderFont: [UIFont fontWithName:@"AovelSans-Bold" size:20],
AMOptionsHeaderFontColor : [UIColor whiteColor],
AMOptionsCellFont : [UIFont fontWithName:@"AovelSans" size:18],
AMOptionsCellFontColor: [UIColor whiteColor],
AMOptionsCellBackground: backgroundColor,
AMOptionsCellBadgeFont : [UIFont fontWithName:@"AovelSans" size:15],
AMOptionsHeaderFont : [UIFont systemFontOfSize:14]
The menu items are added to the controller via the setMenuItems: method. Each menu item is added to the menuItems array with the following code:
NSMutableDictionary* item = [[NSMutableDictionary alloc] init];
item[kSOController] = controller;
item[kSOViewTitle] = controller.roomName;
item[kSOViewIcon] = @"";
item[kSOViewTag] = @(controller.roomNumber);
[menuItems[0][kSOSection] addObject:item];
from slideoutnavigation.
Hi
I tried with your options, and still can't reproduce the issue.
Can you reproduce it in the sample project?
from slideoutnavigation.
To be honest: No. I can't either.
Just tried it and it worked just fine... which is weird because I don't think I did anything special.
I copied all the code that has to do with SlideOutNavigation to the sample app delegate and even tried to reproduce the delayed (asynchronous) update of the list.
Any idea how to find out what's going on?
from slideoutnavigation.
I managed to reproduce it after all!
It's working fine on the iPhone but not on the iPad.
Here's the project: https://dl.dropboxusercontent.com/u/17133427/SlideOutSample.zip
from slideoutnavigation.
Huh, funny thing is, in portrait orientation it works fine. So I guess the culprit is the orientation handling. I'll look into it.
from slideoutnavigation.
Commit 39741e8 should fix the issue.
from slideoutnavigation.
Now it's completely broken ;)
from slideoutnavigation.
Now that's fun. Removing the code that I added yesterday, the issue persists. It's probably due to the last pull request that I merged, which added quite a bit of code. I have to figure out what's causing this.
I'll keep you posted.
from slideoutnavigation.
Haha... Yeah. I figured that out, too.
I'll dig around a little bit, too, and let you know when I find something that might help.
from slideoutnavigation.
Ok, found the culprit.
if([dict[kSOViewTag] integerValue] == self.currentTag) {
[self hideSideMenu];
return;
}
You need to use tags (greater than 0) or the first call to the VC selector will do nothing.
I'll push a new version later, I guess I'll just remove those lines, since they break compatibility pretty bad.
from slideoutnavigation.
Checkout commit e598aa4
from slideoutnavigation.
hmm.. That didn't do it. It's still not showing the first controller
from slideoutnavigation.
Sorry. My bad. It did fix it.
Somehow I just thought I had pulled your changes and apparently I didn't.
Thanks for your time!!!
from slideoutnavigation.
Glad I could help.
from slideoutnavigation.
Related Issues (20)
- The menu icon should have a bigger hit area, and be touchable in the corner HOT 6
- Translucent navigation bar in iOS 7 HOT 1
- AMOptionsUseBorderedButton behaves differently HOT 1
- Programatically navigating to a view controller does not work. HOT 1
- options for insetY HOT 1
- 18 pixels missing HOT 4
- tableview loses selection while scrolling HOT 2
- Highlighted/Selection textColor and Icon HOT 1
- Adding the menu behind UISplitViewController HOT 2
- clang error in Xcode 5.1 HOT 7
- popping to rootview controller HOT 2
- Is it possible to use SlideOutNavigation w/ existing navController? HOT 1
- IOS 8 Issue with slideoutController HOT 1
- Preserve navigation\state of viewControllers
- ChildViewController don't receive size/orientation changes
- change the first view controller presented HOT 4
- Navigation Controller subclass HOT 2
- addViewController...:beforeChange:onCompletition: HOT 2
- Badge on menu items? HOT 3
- defaultFlatOptions() fails because of failed UIImage loading. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slideoutnavigation.