Comments (7)
It's always tricky getting the right position in the navigation bar. You can add some hardcoded offsets, it's not pretty, but it'll get the job done.
I'm closing this issue if you don't mind, since it's not directly related to the library.
from bubbletransition.
@andreamazz this worked out perfect:
transition.startingPoint = CGPoint(x: bubbleBtn.center.x, y: bubbleBtn.center.y + 20)
from bubbletransition.
is it a UIButton or a UIBarButtonItem?
from bubbletransition.
@andreamazz UIButton :)
Right bar button -> bar button items -> UIButton
from bubbletransition.
Ok, so it's inside a navigation bar. It's always tricky finding the right position for those buttons. Take a look at this SO thread
from bubbletransition.
@andreamazz look like someone else was asking the same thing I will try to convert the answer into swift 3 and see if it works
from bubbletransition.
@andreamazz That didnt work : / I also added a image to my btn and tried to use the image center which did not work. Do you think I could wrap the btn inside a uiview and use the center of that view? running out of ideas now
from bubbletransition.
Related Issues (20)
- self.transitioningDelegate not retained HOT 5
- present two viewControllers at once HOT 1
- How to use the bubble transition programmatically? HOT 2
- Improvement: Add a background image for the bubble as an alternative of bubbleColor HOT 4
- swift 4? HOT 6
- Unbalanced calls to begin/end appearance transitions for HOT 6
- Swipe down to dismiss HOT 4
- Swift4 + ObjC HOT 1
- Animation Controller for Dismissed Not work in iOS 9.3 & iOS 12 HOT 6
- can't dismiss viewcontroller in ios12 HOT 1
- Good
- update for swift 4.2? HOT 1
- Wrong Frame Starting Center when Translucent is False HOT 1
- Any chance of navigation instead of presenting?
- Cannot use BubbleInteractiveTransition HOT 4
- Is it possible to accept gesture while animating? HOT 6
- It is possible to use this library to add child view controller to a container view? HOT 4
- Button clicks or tableview cell selection not working HOT 2
- about `UIStatusBarStyle` HOT 2
- Support Swift Packages Manager 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 bubbletransition.