Comments (10)
Hi,
It may be same case with #48 ?
Presenting only one custom view controller hasn't supported yet, but it will be fixed soon.
from pagingmenucontroller.
I added an additional view controller to test that out, and that was the problem. However, now I am experiencing another one. The selected tab moves to the side of the screen, not to the center. Also, How do I make the menu's appearance not opaque?
I am extremely close to completing my app, and this is the final component I need to complete before submitting it, so I would appreciate it if you could help me ASAP. I understand that you are likely extremely busy, and I don't want to pressure you or anything. I really appreciate the help, and I will (of course) give you credit in my app's "About" section.
from pagingmenucontroller.
Could you give me all the options you set for PagingMenuOptions
? Because it's much easier to find out the reason of the unexpected behaviour. Also it would be great if I could see its screenshots.
from pagingmenucontroller.
Here is my code for the options: let options = PagingMenuOptions()
options.menuHeight = 44
options.menuDisplayMode = PagingMenuOptions.MenuDisplayMode.FlexibleItemWidth(centerItem: true, scrollingMode: PagingMenuOptions.MenuScrollingMode.ScrollEnabledAndBouces)
options.textColor = UIColor.blackColor()
options.backgroundColor = UIColor(netHex: 0xFCFCFC)
options.menuItemMode = PagingMenuOptions.MenuItemMode.Underline(height: 2, color: UIColor(netHex:0x0066FF))
let pagingMenuController = self.childViewControllers.first as! PagingMenuController
pagingMenuController.delegate = self
pagingMenuController.setup(viewControllers: viewControllers, options: options)
Also, I just realized that the selected tab centers (as it should) while running in the iOS simulator, but it doesn't center when on a physical device (see image below).
from pagingmenucontroller.
Thanks for helpful info. Also could you tell me what version of PagingMenuController
you are using?
from pagingmenucontroller.
I am using the version for swift 2.
from pagingmenucontroller.
I'm digging into more detail with your options and try to tell you what's wrong ASAP. Please wait a bit more.
FYI, since Xcode 7 is still beta, any project written in Swift 2.0 can not be submitted at this moment if I'm correct.
from pagingmenucontroller.
Thank you, I apreciate all of the help.
from pagingmenucontroller.
The selected tab moves to the side of the screen, not to the center. Also, How do I make the menu's appearance not opaque?
I set same options as yours and it works fine on my device. I'll look into more detail and let you know if there is something wrong.
I didn't make it opaque. How do you think it's opaque?
from pagingmenucontroller.
Please try the latest version and reopen this issue if there is still something wrong.
from pagingmenucontroller.
Related Issues (20)
- Nasty space between navbar and paginMenu HOT 3
- MenuView scrolling vertically HOT 1
- help tableview didselect delegate function HOT 1
- Draw underline both selected and unselected item
- TableView retrieving data from firebase not showing data
- Update widthConstraint every time a MenuItem is selected
- Not working with iPhone 5S
- very bad library for swift HOT 2
- when iam running this app in my xcode build is succeding but in simulator it is not opening
- Support AttributedString in MenuItemText
- Tag a new Version 2.2.1 HOT 1
- Swift 4 support? HOT 2
- Swift 4 Version? HOT 10
- how to see the visible viewcontroller HOT 1
- Is it possible to dynamically add or remove controllers? HOT 1
- Navigation after switched to right tab moves to the right side. HOT 3
- Hope to be able to join the system has the function of the slide of the return
- When can support for swift?
- when I use it, it can not to the right slide of the system returns the gesture.
- How to reload a page 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 pagingmenucontroller.