Question: This is my code which goes in viewDidLoad(), it is a setup for the view that gets poppued up (moved to the middle of the screen) when I click the add button. 

```
    self.view.bringSubviewToFront(addEntryView)
    addEntryView.layer.cornerRadius = 20
    addEntryView.dropShadow()
    self.addEntryView.layer.borderWidth = 5
    self.addEntryView.layer.borderColor = UIColor(red:0.31, green:0.72, blue:0.95, alpha:1.0).cgColor
    addEntryView.backgroundColor = UIColor.white
    addEntryView.frame = CGRect(x: 0, y: 0, width: 370, height: 695)
    view.addSubview(addEntryView)

```

But it is behind my Nav Bar and Tab Bar. I did find this line of code which gets it above the two, bu then when I switch tabs, the view remains on top of the screen. 

```
UIApplication.shared.keyWindow?.addSubview(addEntryView)

```

Any help with getting the view on top of the nav and tab bars but only being for that tab so when I switch tabs, it goes away?

Thanks

Answer: 
Its already reported as a bug in facebook developer support. Your are not the only one hving that problem. If you see in the browser console, when you choose a file it gives a CORS problem
It's not a bug... Your developer account is less than 24 hours? Because facebook not able to send an picture if your account was created less than 24 hours ago.

Please wait these time and try again.