Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close
By default you have only one storyboard in your ios application,but you can load another storyboard at runtime ,by creating a new storyboard file in you application and change its name(Arabic).Like you want to use right to left (RTL) language in your Application.
1 2 3 4 5 |
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"Arabic" bundle:nil]; UIViewController *initViewController = [storyBoard instantiateInitialViewController]; [self.window setRootViewController:initViewController]; [self.window makeKeyAndVisible]; |
by this you can load another storyboard at runtime .if you want to go back to your main storyboard then..
1 2 3 4 |
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; UIViewController *initViewController = [storyBoard instantiateInitialViewController]; [self.window setRootViewController:initViewController]; [self.window makeKeyAndVisible]; |
Be the first to comment.