Code Monkey home page Code Monkey logo

Comments (5)

kciter avatar kciter commented on June 14, 2024

Hello @kalvish21
Please give me your screenshot. 😄

from floaty.

kalvish21 avatar kalvish21 commented on June 14, 2024

simulator screen shot sep 20 2016 8 52 32 pm

The status bar at top was set to white, when I remove the button the text is white, when I put it htere the text is black.

from floaty.

artemmihelson avatar artemmihelson commented on June 14, 2024

The same issue for me, adding UIWindow dependent floating button changes Navigation controllers' navigation bar bar style to white (font color is black).
img_1099

from floaty.

kciter avatar kciter commented on June 14, 2024

You can use KCFABViewController in 2.1.2 version.

// Example
KCFABManager.defaultInstance().fabController.statusBarStyle = UIStatusBarStyle.lightContent
KCFABManager.defaultInstance().fabController.setNeedsStatusBarAppearanceUpdate()

from floaty.

AlecsRosa avatar AlecsRosa commented on June 14, 2024

You can simply add this code on your ViewController.

extension FloatyViewController {
    
    override open var preferredStatusBarStyle: UIStatusBarStyle {
        return .lightContent
    }
    
}

from floaty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.