Skip to content

Commit 516590a

Browse files
Improve appearance sample code.
1 parent f269854 commit 516590a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Examples/UICatalog/UICatalog/js/gestureViewController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var GestureViewController = JSB.defineClass('GestureViewController : UIViewController', {
22
viewDidLoad: function() {
33
self.navigationItem.title = 'Gesture';
4+
self.view.backgroundColor = UIColor.whiteColor();
45

56
var swipeView = UIView.alloc().initWithFrame({x: 10, y: 300, width: 300, height: 120});
67
swipeView.backgroundColor = UIColor.greenColor();

0 commit comments

Comments
 (0)