Skip to content
Projetos

liyong03/YLLongTapShare

Ver no GitHub

Sobre

Controle de compartilhamento por toque prolongado para iOS.

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

YLLongTapShare

Long Tap Sharing control for iOS. Inspired by this design.

###Get Start Using CocoaPods to get start, you can add following line to your Podfile:

pod 'YLLongTapShare'

###How to use it For using this control, it's very easy, after adding source file to your project, using following code to enable the long tap share function.

[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"facebook"] andTitle:@"Facebook"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"pinterest"] andTitle:@"Pinterest"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"instagram"] andTitle:@"Instagram"]];

It support YLLongTapShareView and UIButton. The default color of this control is white, for customizing the color apperance, you can implmenet following delegate function:

- (UIColor*)colorOfShareView {
    return [UIColor redColor];
}

###Welcome pull request With your help, we can continually improve this control.

Thanks.

Explore projetos relacionados

Carregando…