Status Item NSPopover won't display if app is fullscreened - swift

I'm having trouble getting a NSPopover for my app to display when an app is full screened. It doesn't matter if the app is mine or another.
Image below is the popover displaying out of fullscreen, fullscreen it just flickers with nothing showing.

Related

How to mimic the custom NavigationBar item in Podcasts app

The iPhone iOS podcast app has a trailing bar button item that behaves differently than most UIBarButtons. You can see it on the Listen Now page. It's the button on the top right that takes you to the account page. It is lower than normal, and it's inline with the title of the NavigationBar, and it is bigger than normal. Most importantly it scrolls up with the navigation title and disappears under the compact Navigation Bar. (The App Store app has the same behavior on the "Search", "Games" and "Apps" tabs.
Does anybody know how to get this behavior in either SwiftUI or UIKit? I haven't seen anyone else reproduce this and I wonder if this is something that only Apple has access to.

Swift webView dissapears from screen

When I run my app on simulator, everything is shown perfect, both webView and view below it.
But after a second webView disappears from screen. I don't know if I make a mistake with constraints.Here is how my screen should look like :
Consraints:
And this is simulator 1 second after it has been loaded:

iPhone app not running on simulator xcode

So I'm trying to run a new tabbed application in the iPhone simulator, but I keep getting a black screen after my app loading screen.
I've tried Reset Content and Settings and I've made sure that my storyboard is the main interface.
My app also doesn't appear in the iPhone simulator app pages
Black screen appear only when, you do not set any initial launching screen in the application, and thus it show black window screen. In your storyboard select "Tab Bar controller Scene" and check its attribute inspector and check if "is Initial View controller" field is selected or not.
Make sure you set your initial view correctly in Storyboard

Resume app from background restarts the entire APP?

As described, it looks fine if you background the app and click the app icon again.
BUT if you double click home button and click the app icon from background application icons, your app restarted completely.
I have a menu view, and a game view. Where the menu view has a slider effect for 10sec, and then a start button for the game. and when I click start game, obi it does storyboard segue (model style) to the game view and start the game.
I have code for applicationWillResignActive, and it works fine, as soon as you reactive the game through normal app icon, but from the background app list queue.
Anyone has experienced this issue before?
Solution is to not putting any slideshow loading in ViewWillAppear but in ViewWillLoad

Weird glitch with disappearing status bar / nav bar

I have an app that is similar to the photos app in that when a picture is displayed, it takes up the full 320x480 of the screen. Also like the photos app, when the user taps the screen, the status bar / nav bar fade out to provide extra space. Everything works fine, except I noticed one weird glitch. If I push the home button to exit the app (when the status bar / nav bar invisible), and then I push the apps logo to reenter the app, when the app reopens, the application frame gets screwed up, and the view that holds my picture gets pushed down 20 pixels (seemingly to make way for the status bar). Like I've said, it all works fine when I'm switching between views in my app, but when I push the home button to exit out, it messes up. Anyone ever have this problem before?
Perhaps you have to re-set your interface code in this App delegate method:
(void)applicationDidBecomeActive:(UIApplication )application {
/
Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
*/
}
In viewDidAppear method try the following :
self.navigationController.navigationBarHidden = TRUE;