Merge pull request #1096 from facebook/pr/1059

[tvOS] Initial changes to support building AsyncDisplayKit for tvOS.
This commit is contained in:
appleguy
2016-01-23 12:28:43 -08:00
15 changed files with 167 additions and 23 deletions

View File

@@ -163,7 +163,9 @@
_textKitComponents.textView = self.textView;
//_textKitComponents.textView = NO; // Unfortunately there's a bug here with iOS 7 DP5 that causes the text-view to only be one line high when scrollEnabled is NO. rdar://14729288
_textKitComponents.textView.delegate = self;
#if TARGET_OS_IOS
_textKitComponents.textView.editable = YES;
#endif
_textKitComponents.textView.typingAttributes = _typingAttributes;
_textKitComponents.textView.returnKeyType = _returnKeyType;
_textKitComponents.textView.accessibilityHint = _placeholderTextKitComponents.textStorage.string;