#import <UIKit/UIKit.h>@interface YS_PageControl : UIPageControl@end//////////////////////////////////#import "YS_PageControl.h"@implementation YS_PageControl//@synthesize activeImage;//@synthesize inactiveImage;- (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; Read More
- (id)initWithFrame:(CGRect)frame{ self = [super initWithFrame:frame]; if (self) { // Initialization code _backImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height - 20)]; _backImage.userInteractionEnabled = YES; _backImage... Read More