Closed DCritelli closed 11 years ago
Good find, thanks!
you welcome
Serhat SARI, Inomera A.Þ. GSM: 0506 257 3665 Tel: 0212 287 0166 Faks: 0212 287 0167
http://www.youtube.com/watch?v=6ioqU63Q8QM&feature=player_embedded
Web: http://www.inomera.com/ Boðaziçi Üniversitesi Kuzey Kampüs Teknopark Binasý Zemin Kat, No:106 34342 Bebek - Beþiktaþ, Ýstanbul
2012/12/24 Ryan Nystrom notifications@github.com
Good find, thanks!
Reply to this email directly or view it on GitHubhttps://github.com/rnystrom/RNSwipeViewController/pull/1#issuecomment-11665474.
hi
may be a my mistake,but i don'y know why my center screen is always grey in color, but it ocntains an image and two buttons,
this is my code for app delegate
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch.
fkMasterSwipeViewController *masterViewcontroller = [[fkMasterSwipeViewController alloc] init];
fkMatchViewController center = [[fkMatchViewController alloc] initWithNibName:@"fkMatchViewController" bundle:nil]; masterViewcontroller.leftViewController = [[fkTutorialViewController alloc] initWithNibName:@"fkTutorialViewController" bundle:nil]; masterViewcontroller.centerViewController = center; // self.viewController.leftVisibleWidth = kGridSize + 3 * kPadding; //self.viewController.rightVisibleWidth = kGridSize * 2 + 3 \ kPadding;
masterViewcontroller.rightViewController = [[fkNewsViewController alloc] initWithNibName:@"fkNewsViewController" bundle:nil];
// masterViewcontroller.leftVisibleWidth = 100; //masterViewcontroller.rightVisibleWidth = 100; self.window.backgroundColor = [UIColor underPageBackgroundColor]; self.window.rootViewController = masterViewcontroller;
[self.window makeKeyAndVisible]; return YES; }
can u suggest me , if some thing wrong in my code
thanks Dileep
The views where still being created in portrait when the app was launched in landscape on the ipad. I just added a check for the orientation and adjusted the frame in viewDidLoad.