Ver código fonte

parsing sample code: disable bitcode and disable editing on the output text view

Felix Paul Kühne 9 anos atrás
pai
commit
33690f0ec6

+ 2 - 0
Examples_iOS/VLCMetadataParser/VLCMetadataParser.xcodeproj/project.pbxproj

@@ -308,6 +308,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ENABLE_BITCODE = NO;
 				HEADER_SEARCH_PATHS = (
 					"$(inherited)",
 					"$(CONFIGURATION_BUILD_DIR)",
@@ -323,6 +324,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ENABLE_BITCODE = NO;
 				HEADER_SEARCH_PATHS = (
 					"$(inherited)",
 					"$(CONFIGURATION_BUILD_DIR)",

+ 1 - 0
Examples_iOS/VLCMetadataParser/VLCMetadataParser/ViewController.m

@@ -47,6 +47,7 @@
     _textView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
     _textView.backgroundColor = [UIColor clearColor];
     _textView.textColor = [UIColor whiteColor];
+    _textView.editable = NO;
     [self.view addSubview:_textView];
 
     _activityIndicatorView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];