Skip to content

Unable to present bottomPopup above all views #18

@JhonnyTawk

Description

@JhonnyTawk

I have a view (Now playing music) above Tabbar I am adding it like this
appDelegate.window?.rootViewController?.addChild(nowPlayingView) appDelegate.window?.addSubview(miniPlayerView.view)
when I click on it. It shows the full view inside the full view there is a button that displays the BottomPopup I am unable to display the BottomPopup above the presented View I tried the different solution but only 1 worked with me

`

let transition = CATransition()

transition.type = CATransitionType.push

transition.subtype = CATransitionSubtype.fromTop

   	popupVC.view.layer.add(transition, forKey: nil)

    appDelegate.window?.rootViewController?.addChild(popupVC)

    appDelegate.window?.addSubview(popupVC.view)

    popupVC.didMove()

`
and that's lead to another issue that's I am unable to dismiss it on swipe
please, can someone help?
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions