VLCFirstStepsSecondPageViewController.m 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*****************************************************************************
  2. * VLCFirstStepsSecondPageViewController
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2014 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import "VLCFirstStepsSecondPageViewController.h"
  13. @interface VLCFirstStepsSecondPageViewController ()
  14. @end
  15. @implementation VLCFirstStepsSecondPageViewController
  16. - (void)viewDidLoad
  17. {
  18. [super viewDidLoad];
  19. NSString *model = [[UIDevice currentDevice] model];
  20. if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
  21. self.descriptionLabel.text = [NSString stringWithFormat:NSLocalizedString(@"FIRST_STEPS_ITUNES_DETAILS", @""), model, model];
  22. else
  23. self.descriptionLabel.text = [[NSString stringWithFormat:NSLocalizedString(@"FIRST_STEPS_ITUNES_DETAILS", @""), model, model] stringByReplacingOccurrencesOfString:@"\n" withString:@"\n\n"];
  24. }
  25. - (NSString *)pageTitle
  26. {
  27. return NSLocalizedString(@"FIRST_STEPS_ITUNES", @"");
  28. }
  29. - (NSUInteger)page
  30. {
  31. return 2;
  32. }
  33. @end