在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:andrei200287/SAVideoRangeSlider开源软件地址:https://github.com/andrei200287/SAVideoRangeSlider开源编程语言:Objective-C 99.7%开源软件介绍:SAVideoRangeSlider====== iOS UI Control Providing An iMovie Style Video Trim Control. ScreensYoutube videoRequirements
Installation
Example UsageSAVideoRangeSlider *mySAVideoRangeSlider = [[SAVideoRangeSlider alloc] initWithFrame:CGRectMake(10, 200, self.view.frame.size.width-20, 70) videoUrl:videoFileUrl ];
[mySAVideoRangeSlider setPopoverBubbleSize:200 height:100];
mySAVideoRangeSlider.delegate = self;
mySAVideoRangeSlider.minGap = 10; // optional, seconds
mySAVideoRangeSlider.maxGap = 30; // optional, seconds
[self.view addSubview:mySAVideoRangeSlider]; Protocols- (void)videoRange:(SAVideoRangeSlider *)videoRange didChangeLeftPosition:(CGFloat)leftPosition rightPosition:(CGFloat)rightPosition; - (void)videoRange:(SAVideoRangeSlider *)videoRange didGestureStateEndedLeftPosition:(CGFloat)leftPosition rightPosition:(CGFloat)rightPosition; CustomizationUse PaintCode application to make left/right slider and resizible bubble (see examples in the ContactAndrei Solovjev LicenseSAVideoRangeSlider is available under the MIT license. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论