samedi 29 mars 2014

TPKeyboardAvoidingScrollView not working


Vote count:

0




hi i found TPKeyboardAvoidingScrollView in github and i followed the explanation but it didn't work



#import "ajouterBilanViewController.h"
#import "TPKeyboardAvoidingScrollView.h"

@interface ajouterBilanViewController ()

@end

@implementation ajouterBilanViewController
@synthesize scroll;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end


i added a scroll view in my xib and changed uiscrollview with TPKeyboardAvoidingScrollView but nothing is working.



#import <UIKit/UIKit.h>
@class TPKeyboardAvoidingScrollView;
@interface ajouterBilanViewController : UIViewController
@property (weak, nonatomic) IBOutlet TPKeyboardAvoidingScrollView *scroll;
@end


asked 21 secs ago






Aucun commentaire:

Enregistrer un commentaire