-
Notifications
You must be signed in to change notification settings - Fork 329
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
Arrow Missing #101
Comments
To resolve this issue |
Same here seems the arrow is not showing.. Using Popover (1.2.0)
|
I found a temporary solution. Arrow is below view you added
Hope this is helpful for someone. |
Just remove a below code in Popover file:
Because the code is set frame's contentView that is equal frame's superview, and not space for drawing arrow. |
Use mask layer replace fill. |
I tried to implement ur pod but I'm facing some issues. Arrow point is missing kindly do needfully, I added screen and codes check it
var popOverOptions : [PopoverOption] = [ .type(.down), .springDamping(0.7), .initialSpringVelocity(3.0), .cornerRadius(6.0), .blackOverlayColor(UIColor(white: 0.0, alpha: 0.6)), .sideEdge(20.0), .arrowSize(CGSize(width: 12, height: 6)) ]
let startPoint = CGPoint(x: self.view.bounds.width - 60 , y: 55 ) let tableView = UITableView(frame: CGRect(x: 0, y: 0, width: Int(self.view.frame.width - 40) , height: 42 * self.options.count)) tableView.delegate = self tableView.dataSource = self tableView.isScrollEnabled = false tableView.tableFooterView = UIView() self.popover = Popover(options: self.popOverOptions) self.popover.show(tableView, point: startPoint) return
The text was updated successfully, but these errors were encountered: