Commit cff85fea3dac397d0e40d0bcbb23c122f508d844
1 parent
4e029548
0.2.0
Showing
4 changed files
with
12 additions
and
16 deletions
CNLiveCommuntyModule.podspec
CNLiveCommuntyModule/Classes/ViewController/CNLiveCommuntInformViewController.m
| ... | ... | @@ -545,7 +545,7 @@ |
| 545 | 545 | // imagePickerVc.maxVideoDuration = 0;//编辑视频最大长度 |
| 546 | 546 | // 3. Set allow picking video & photo & originalPhoto or not |
| 547 | 547 | // 3. 设置是否可以选择视频/图片/原图 |
| 548 | - imagePickerVc.allowPickingMultipleVideo = NO; | |
| 548 | + imagePickerVc.allowPickingVideo = NO; | |
| 549 | 549 | /// 5. Single selection mode, valid when maxImagesCount = 1 |
| 550 | 550 | /// 5. 单选模式,maxImagesCount为1时才生效 |
| 551 | 551 | // 设置竖屏下的裁剪尺寸 | ... | ... |
Example/CNLiveCommuntyModule.xcodeproj/xcshareddata/xcschemes/CNLiveCommuntyModule-Example.xcscheme
| ... | ... | @@ -27,6 +27,15 @@ |
| 27 | 27 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" |
| 28 | 28 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" |
| 29 | 29 | shouldUseLaunchSchemeArgsEnv = "YES"> |
| 30 | + <MacroExpansion> | |
| 31 | + <BuildableReference | |
| 32 | + BuildableIdentifier = "primary" | |
| 33 | + BlueprintIdentifier = "6003F589195388D20070C39A" | |
| 34 | + BuildableName = "CNLiveCommuntyModule_Example.app" | |
| 35 | + BlueprintName = "CNLiveCommuntyModule_Example" | |
| 36 | + ReferencedContainer = "container:CNLiveCommuntyModule.xcodeproj"> | |
| 37 | + </BuildableReference> | |
| 38 | + </MacroExpansion> | |
| 30 | 39 | <Testables> |
| 31 | 40 | <TestableReference |
| 32 | 41 | skipped = "NO"> |
| ... | ... | @@ -39,17 +48,6 @@ |
| 39 | 48 | </BuildableReference> |
| 40 | 49 | </TestableReference> |
| 41 | 50 | </Testables> |
| 42 | - <MacroExpansion> | |
| 43 | - <BuildableReference | |
| 44 | - BuildableIdentifier = "primary" | |
| 45 | - BlueprintIdentifier = "6003F589195388D20070C39A" | |
| 46 | - BuildableName = "CNLiveCommuntyModule_Example.app" | |
| 47 | - BlueprintName = "CNLiveCommuntyModule_Example" | |
| 48 | - ReferencedContainer = "container:CNLiveCommuntyModule.xcodeproj"> | |
| 49 | - </BuildableReference> | |
| 50 | - </MacroExpansion> | |
| 51 | - <AdditionalOptions> | |
| 52 | - </AdditionalOptions> | |
| 53 | 51 | </TestAction> |
| 54 | 52 | <LaunchAction |
| 55 | 53 | buildConfiguration = "Debug" |
| ... | ... | @@ -71,8 +69,6 @@ |
| 71 | 69 | ReferencedContainer = "container:CNLiveCommuntyModule.xcodeproj"> |
| 72 | 70 | </BuildableReference> |
| 73 | 71 | </BuildableProductRunnable> |
| 74 | - <AdditionalOptions> | |
| 75 | - </AdditionalOptions> | |
| 76 | 72 | </LaunchAction> |
| 77 | 73 | <ProfileAction |
| 78 | 74 | buildConfiguration = "Release" | ... | ... |
Example/CNLiveCommuntyModule/CNLIVEAppDelegate.m
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| 21 | 21 | { |
| 22 | 22 | // Override point for customization after application launch. |
| 23 | - | |
| 23 | + [IQKeyboardManager sharedManager].enableDebugging = YES; | |
| 24 | 24 | [IQKeyboardManager sharedManager].enable = YES; |
| 25 | 25 | [IQKeyboardManager sharedManager].enableAutoToolbar = YES; |
| 26 | 26 | ... | ... |