Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CGRect floatButtonFrame = CGRectMake([UIScreen mainScreen].bounds.size.width - 44 - 20, [UIScreen mainScreen].bounds.size.height - 44 - 20, 44, 44);
- floatingButton = [[VCFloatingActionButton alloc] initWithFrame:floatButtonFrame normalImage:[UIImage imageNamed:@"plus"] andPressedImage:[UIImage imageNamed:@"cross"] withScrollview:self.aktivitiTableView];
- floatingButton.imageArray = @[@"fb-icon",@"twitter-icon",@"google-icon",@"linkedin-icon"];
- floatingButton.labelArray = @[@"Facebook",@"Twitter",@"Google Plus",@"Linked in"];
- floatingButton.hideWhileScrolling = NO;
- floatingButton.delegate = self;
- [self.aktivitiTableView addSubview:floatingButton];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement