Skip to content
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

Xcode Version 11.0 and ios 13.0 reateStatusBarWithRequestedStyle App crash , Please Provide support for that #80

Closed
Prashant961992 opened this issue Sep 24, 2019 · 12 comments

Comments

@Prashant961992
Copy link

  • Assertion failure in -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3899.13.13/UIApplication.m:5240

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.'

@kukushi
Copy link
Owner

kukushi commented Sep 24, 2019

#67

@kukushi kukushi closed this as completed Sep 24, 2019
@pujaadcolony
Copy link

I am also getting the same issue . Please help me out

@craigbooker
Copy link

I am getting this error as well. Any help appreciated.

@kukushi
Copy link
Owner

kukushi commented Nov 21, 2019

@pujaadcolony @Prashant961992 See the pinned issue, guys

@huukuntp1
Copy link

Hi @Prashant961992 , I also same with your issue. My issue related with Status Bar. can you check Status Bar component ?

@arjunguptha123
Copy link

i also same issue facing , how . to solve that issue

@ankit0409
Copy link

Is it any solution on this

@arjunguptha123
Copy link

arjunguptha123 commented Jan 28, 2020 via email

@SebastianNYC
Copy link

does anyone have a solution? I have the same problem. But I don't access the StatusBar in my app.

@arjunguptha123
Copy link

arjunguptha123 commented Apr 29, 2020 via email

@SebastianNYC
Copy link

SebastianNYC commented May 24, 2020

It still doesn't work.

`import UIKit
import Firebase
import CoreData
import FBSDKCoreKit
import FBSDKLoginKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    // Override point for customization after application launch.
    
    FirebaseApp.configure()
    Database.database().isPersistenceEnabled = true 
    FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions)
    
    return true
}

func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
    
    let handled = FBSDKApplicationDelegate.sharedInstance().application(app, open: url, sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as! String?, annotation: options[UIApplicationOpenURLOptionsKey.annotation])
   
    return handled
}

func applicationWillResignActive(_ application: UIApplication) {
    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
    // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}

func applicationDidEnterBackground(_ application: UIApplication) {
    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

func applicationWillEnterForeground(_ application: UIApplication) {
    // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}

func applicationDidBecomeActive(_ application: UIApplication) {
    // 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.
}

func applicationWillTerminate(_ application: UIApplication) {
    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

}`

@kukushi
Copy link
Owner

kukushi commented May 25, 2020

@SebastianNYC Which version of SideMenu are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants