Giter Site home page Giter Site logo

Comments (22)

iotashan avatar iotashan commented on September 22, 2024

I have the same issue with changing the status bar style. will dig into the source, see if I can't figure out a PR

from nappdrawer.

viezel avatar viezel commented on September 22, 2024

found something I missed? would be nice to have this fixed.

from nappdrawer.

iotashan avatar iotashan commented on September 22, 2024

Not yet. I plan on digging in on Wed.

from nappdrawer.

viezel avatar viezel commented on September 22, 2024

awesome. let me know :)

from nappdrawer.

iotashan avatar iotashan commented on September 22, 2024

Workaround is to make the center window a navigation controller (Ti.UI.iPhone.NavigationWindow). Then the drawer obeys statusBarStyle

from nappdrawer.

atypical avatar atypical commented on September 22, 2024

@iotashan are you setting the statusBarStyle in the drawer options or thru that key/string value?

from nappdrawer.

tvanmil avatar tvanmil commented on September 22, 2024

I used the (dirty..) hack from the NappSlideMenu (viezel/NappSlideMenu#22) issue, and placed this right after drawer.open(). Works for NappDrawer as well.. It's not a beauty!

Hope this gets fixed in the future?

var tmpWin = Ti.UI.createWindow({
    backgroundColor: 'transparent',
    zIndex: 1000,
    touchEnabled: false
});
tmpWin.open();

from nappdrawer.

luishurtado avatar luishurtado commented on September 22, 2024

@tvanmil +1 hack works, the only thing is I had to set fullscreen property as well

var tmpWin = Ti.UI.createWindow({
    backgroundColor: 'transparent',
    zIndex: 1000,
    touchEnabled: false,
    fullscreen: true
});
tmpWin.open();

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

Apart from the hack (which I don't like) isn't there any other way to set the statusBarStyle?

from nappdrawer.

caspahouzer avatar caspahouzer commented on September 22, 2024

is that you are searching for?

https://marketplace.appcelerator.com/apps/7533

from nappdrawer.

iskugor avatar iskugor commented on September 22, 2024

@FokkeZB If you use 3.2.0 SDK, you can remove window workaround, just use tiapp.xml setting. ;)

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

Doesn't work for me. Still black, even when having this in tiapp.xml:

  <ios>
    <plist>
      <dict>
        <key>UISupportedInterfaceOrientations~iphone</key>
        <array>
          <string>UIInterfaceOrientationPortrait</string>
        </array>
        <key>UISupportedInterfaceOrientations~ipad</key>
        <array>
          <string>UIInterfaceOrientationPortrait</string>
          <string>UIInterfaceOrientationPortraitUpsideDown</string>
        </array>
        <key>UIRequiresPersistentWiFi</key>
        <false/>
        <key>UIPrerenderedIcon</key>
        <true/>
        <key>UIStatusBarHidden</key>
        <false/>
        <key>UIStatusBarStyle</key>
        <string>UIStatusBarStyleLightContent</string>
        <key>CFBundleDevelopmentRegion</key>
        <string>nl_NL</string>
      </dict>
    </plist>
  </ios>

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

@caspahouzer well, yes pulling in another module is an option but I'd rather see it fixed in this ;)

from nappdrawer.

caspahouzer avatar caspahouzer commented on September 22, 2024

I know. Solution in one module would be absolutely better.

from nappdrawer.

viezel avatar viezel commented on September 22, 2024

@fokke @caspahouzer @adrianopaladini Anyone know how to get the source code for this module?
that might be a simple solution to this problem. I could implement it here.

from nappdrawer.

adrianopaladini avatar adrianopaladini commented on September 22, 2024

Hello, here is the link of the source code of my module "statusbar":
https://github.com/adrianopaladini/statusbar , which in reality is the same code that existed in Titanium SDK 3.1.3 and has been deprecated.

The Appcelerator did this, because these functions were not having an effect on iOS 7, but they work with a SIMPLE change in tiapp.xml, which is in the README of my repository.

For more information, see https://developer.apple.com/library/ios/documentation/userexperience/conceptual/transitionguide/AppearanceCustomization.html

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

So basically this module disabled the style per view and lets you manually set it. This is very nice!

@adrianopaladini, could you at the build-zip in /dist so http://gitt.io will pick it up for the CLI?

from nappdrawer.

viezel avatar viezel commented on September 22, 2024

sweet @adrianopaladini. Thanks for the quick reply. ill see if I can make use of that in this context.

from nappdrawer.

viezel avatar viezel commented on September 22, 2024

There you go:
https://github.com/viezel/NappDrawer/releases/tag/1.1.3

from nappdrawer.

adrianopaladini avatar adrianopaladini commented on September 22, 2024

@FokkeZB sorry, but I can not put the package ready in github, because the module is in https://marketplace.appcelerator.com/apps/7533

If someone grab the module (zip package) without "acquire" in the marketplace, when trying to run/compile a message "unlicensed module" appears.

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

OK, working on that. Please watch this ticket with me: https://jira.appcelerator.org/browse/TC-3606

from nappdrawer.

FokkeZB avatar FokkeZB commented on September 22, 2024

@adrianopaladini there is an option however to be in the Marketplace as an open source module and have the Download button link to your GitHub repo (where the distributions would be)

https://jira.appcelerator.org/browse/TC-3606?focusedCommentId=288640&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-288640

from nappdrawer.

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.