我为iOS6制作了应用程序,因为我在iOS7上运行它,所以它扰乱了我的设计前景。
我的细胞代码如下。
@interface Cell_ClubOffer : UITableViewCell
@property (nonatomic, retain) IBOutlet UILabel *titleName;
@property (nonatomic, retain) IBOutlet UILabel *description;
@property (nonatomic, retain) IBOutlet UILabel *distance;
@property (nonatomic, retain) IBOutlet UIImageView *cellImageView;
@property(nonatomic,retain)IBOutlet UIButton *plainButton;
@property (nonatomic, retain) IBOutlet UIImageView *backImageView;
@end
@implementation Cell_ClubOffer
@synthesize cellImageView;
@synthesize plainButton;
@synthesize backgroundView;
@synthesize backImageView;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
// Initialization code
}
return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end
现在我的手机就像在iOS6中一样
在iOS7上看起来很糟糕,比如
简单地将它从iOS6迁移到iOS7的正确方法是什么。