You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.
I am using this project for iPad project, however on selection of menu item, only half of the cell background is changed. Please find image
This occurs at SIMenuCell->initWithStyle where size width is 320(iPhone) but it should be 768(iPad). I tried to fix but not sure where exactly width is set.
I did a little hack by modifying width
There is also another issue, I am facing wrt appearance of menu in navigation bar.
As you can see, the menu does not appear at middle but some 20pixels right of middle. I tried to modify SIMenuButton but changes made are not reflected in initWithFrame. Please suggest.
First part of your question was fixed. See 29decf6 please.
The second question... it is because of titleView. it is cantered between two bar button items. so to fix this issue you just need to have left and right bar button items the same width.
I am using this project for iPad project, however on selection of menu item, only half of the cell background is changed. Please find image
This occurs at SIMenuCell->initWithStyle where size width is 320(iPhone) but it should be 768(iPad). I tried to fix but not sure where exactly width is set.
I did a little hack by modifying width
CGRect bound = CGRectMake(self.bounds.origin.x, self.bounds.origin.y, 768, self.bounds.size.height);
self.cellSelection = [[SICellSelection alloc] initWithFrame:bound andColor:[SIMenuConfiguration selectionColor]];
The text was updated successfully, but these errors were encountered: