Comments (22)
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.
found something I missed? would be nice to have this fixed.
from nappdrawer.
Not yet. I plan on digging in on Wed.
from nappdrawer.
awesome. let me know :)
from nappdrawer.
Workaround is to make the center window a navigation controller (Ti.UI.iPhone.NavigationWindow). Then the drawer obeys statusBarStyle
from nappdrawer.
@iotashan are you setting the statusBarStyle in the drawer options or thru that key/string value?
from nappdrawer.
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.
@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.
Apart from the hack (which I don't like) isn't there any other way to set the statusBarStyle?
from nappdrawer.
is that you are searching for?
https://marketplace.appcelerator.com/apps/7533
from nappdrawer.
@FokkeZB If you use 3.2.0 SDK, you can remove window workaround, just use tiapp.xml setting. ;)
from nappdrawer.
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.
@caspahouzer well, yes pulling in another module is an option but I'd rather see it fixed in this ;)
from nappdrawer.
I know. Solution in one module would be absolutely better.
from nappdrawer.
@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.
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.
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.
sweet @adrianopaladini. Thanks for the quick reply. ill see if I can make use of that in this context.
from nappdrawer.
There you go:
https://github.com/viezel/NappDrawer/releases/tag/1.1.3
from nappdrawer.
@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.
OK, working on that. Please watch this ticket with me: https://jira.appcelerator.org/browse/TC-3606
from nappdrawer.
@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)
from nappdrawer.
Related Issues (20)
- Setting the title and nav buttons on the status bar (iOS)
- (Android) NappDrawer not showing when resuming to app via intent HOT 1
- App crashes when setRightWindow only HOT 5
- Not working with SDK 6.3.0 HOT 5
- How to reopen drawer which is closed by drawer.close()
- Latest Titanium SDK not support HOT 6
- iOS — Open Drawer Animation Bug (v2.0.0) 🐛 HOT 6
- App crashes after setting centerWindow multiple times (iOS) HOT 18
- Child windows orientations HOT 8
- Build errors when trying to compile with 7.0.2.GA HOT 1
- RefreshControl in listview is lost after switching between winodws.
- iOS - setLeftWindow(false) throws error using Titanium 7.1.0 GA HOT 1
- [Android] Drop-down list not shown in Webview HOT 2
- 8.0.1.GA Support HOT 5
- [Android] addWindowToStack error using v2.0.2 in TiSDK 8 HOT 2
- iOS module is not working with latest SDK 8.2.0.GA. HOT 1
- iOS module not working on iOS 13 VoiceOver
- 2.1.1 version of navdrawer cause app crashing HOT 1
- drawer.setAnimationMode not working on sdk 10 HOT 1
- Crash on iOS 12.5.4 and Ti SDK 10.0.0.GA HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nappdrawer.