0
我想從我的ViewController調用UIView FirstScreen。從UIController調用UIView
但我不知道該怎麼做。
的ViewController:
#import "ViewController.h"
#import "FirstScreen.h"
@interface ViewController()
{
FirstScreen *f;
}
FirstScreen.m:
#import "FirstScreen.h"
@implementation FirstScreen
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
[self didLoad];
}
return self;
}
-(void) didLoad{
[self addLabel];
[self addImageView];
}
你是什麼意思*調用* UIView FirstScreen? –