Advertisement
Guest User

floating button tableview problem

a guest
Dec 6th, 2015
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. CGRect floatButtonFrame = CGRectMake([UIScreen mainScreen].bounds.size.width - 44 - 20, [UIScreen mainScreen].bounds.size.height - 44 - 20, 44, 44);
  2.  
  3.  
  4. floatingButton = [[VCFloatingActionButton alloc] initWithFrame:floatButtonFrame normalImage:[UIImage imageNamed:@"plus"] andPressedImage:[UIImage imageNamed:@"cross"] withScrollview:self.aktivitiTableView];
  5.  
  6. floatingButton.imageArray = @[@"fb-icon",@"twitter-icon",@"google-icon",@"linkedin-icon"];
  7. floatingButton.labelArray = @[@"Facebook",@"Twitter",@"Google Plus",@"Linked in"];
  8.  
  9. floatingButton.hideWhileScrolling = NO;
  10. floatingButton.delegate = self;
  11.  
  12. [self.aktivitiTableView addSubview:floatingButton];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement