[UIScreen mainScreen].bounds.size.height
reports the following sizes, in points, for these iOS devices:
- Height: 1024
- Width: 768
- Height: 736
<!-- note the ONLY change to this is the additional module="tabIndicator" | |
attribute + properties to override indicator defaults //--> | |
<Alloy> | |
<TabGroup module="tabIndicator" tabsBackgroundColor="#000" tabIndicatorHeight="1" tabIndicatorColor="white" tabIndicatorWidth="75%"> | |
<Tab title="Tab 1" icon="/images/icons/519-tools-1.png" activeIcon="/images/icons/519-tools-1_active.png" color="#555" activeColor="#fff"> | |
<Window title="Tab 1" barColor="black" navTextColor = "#fff"> | |
<Label onClick="openWin1">Tab 1</Label> | |
</Window> | |
</Tab> | |
<Tab title="Tab 2" icon="/images/icons/516-archive-box.png" activeIcon="/images/icons/516-archive-box_active.png" color="#555" activeColor="#fff"> |
<key>NSLocationAlwaysUsageDescription</key> | |
<string> | |
YOUR DESCRIPTOIN GOES HERE - EX. This application would like to use your current location. | |
</string> |
<? | |
$scheme = isset($_GET['scheme']) ? $_GET['scheme'] : 'twitter'; | |
$path = isset($_GET['path']) ? $_GET['path'] : '/'; | |
$id = isset($_GET['id']) ? $_GET['id'] : 333903271; | |
$package = isset($_GET['scheme']) ? $_GET['scheme'] : 'com.twitter.android'; | |
$auto = isset($_GET['auto']); | |
// Detection | |
$HTTP_USER_AGENT = strtolower($_SERVER['HTTP_USER_AGENT']); |
$.index.addEventListener('visible',function(e){ | |
if (e.view == 'detail'){ | |
e.button.title = "Master"; | |
$.index.detailView.getWindow().leftNavButton = e.button; | |
} else if (e.view == 'master'){ | |
$.index.detailView.getWindow().leftNavButton = null; | |
} | |
}); | |
$.index.open(); |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
installr_settings: { | |
releaseNotes: grunt.file.read("./CHANGELOG.txt") | |
}, | |
titanium: { | |
build_ios: { // build for ios first |
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, |
$.mySwitch.addEventListener('change',function(e){ | |
Ti.API.info('Switch value: ' + $.mySwitch.value); | |
}); |
## | |
## Build an Appcelerator Android Module | |
## Then copy it to the default module directory | |
## | |
## (c) Napp ApS | |
## Mads Møller | |
## | |
## HOW TO GUIDE |
tiRequire = require | |
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.io=e():"undefined"!=typeof global?global.io=e():"undefined"!=typeof self&&(self.io=e())}(function(){var define,module,exports; | |
return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
module.exports = require('./lib/'); | |
},{"./lib/":2}],2:[function(require,module,exports){ | |
/** |