Skip to content

Commit

Permalink
Guard usage of class only available in simulator builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanolsonk committed Sep 21, 2015
1 parent e199b52 commit ebf5254
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Utility/FLEXKeyboardHelpViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ - (void)viewDidLoad
self.textView = [[UITextView alloc] initWithFrame:self.view.bounds];
self.textView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
[self.view addSubview:self.textView];
#if TARGET_OS_SIMULATOR
self.textView.text = [[FLEXKeyboardShortcutManager sharedManager] keyboardShortcutsDescription];
#endif
self.textView.backgroundColor = [UIColor blackColor];
self.textView.textColor = [UIColor whiteColor];
self.textView.font = [UIFont boldSystemFontOfSize:14.0];
Expand Down

0 comments on commit ebf5254

Please sign in to comment.