Ro.
Ro.

Reputation: 13

Swift IQkeyboard manager . Code doesnt work in the simulator. Keyboard doesnt pop up at all when the text field is pressed

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    IQKeyboardManager.shared.enable = true
    IQKeyboardManager.shared.enableAutoToolbar = false
    
    
    
    FirebaseApp.configure()
    
    let db = Firestore.firestore()
        print(db)
    
   
    
    return true
}

Upvotes: 0

Views: 270

Answers (1)

Lucas Dahl
Lucas Dahl

Reputation: 742

Go to IOS Simulator -> Hardware -> Keyboard and toggle "toggle software keyboard" or command k.

Upvotes: 2

Related Questions