I am the producer of Face Factory.
This is a link to the free version for ipad.
itms://itunes.apple.com/us/app/face-factory-lite/id378352152?mt=8
In my app i have a fundamental flaw that i cannot seem to eradicate. When two items of the same are spawned, the first spawn becomes no longer active in my view.
Each Facial feature has a button, of which spawns a CGRect. I think when the buttons is pressed for a second time, the second spawned CGRect has the same name, dimensions etc, and thus has totally overwritten any existence of the old. So movement and resizing of the old is no longer an option.
Can anyone help me solve this dilemma, as i wish to be able to have more than one of the same item at the same time.
Thank you.
Code..
-(IBAction) zfridge{
CGRect zfridgeRect = CGRectMake(50.0f, 250.0f, 100.0f, 100.0f);
zfridge = [[UIImageView alloc] initWithFrame:zfridgeRect];
[zfridge setImage:[UIImage imageNamed
"Z.png"]];
zfridge.opaque = NO;
zfridge.userInteractionEnabled = YES;
zfridge.multipleTouchEnabled = YES;
[self.view addSubview:zfridge];
[zfridge release];
}
This is a link to the free version for ipad.
itms://itunes.apple.com/us/app/face-factory-lite/id378352152?mt=8
In my app i have a fundamental flaw that i cannot seem to eradicate. When two items of the same are spawned, the first spawn becomes no longer active in my view.
Each Facial feature has a button, of which spawns a CGRect. I think when the buttons is pressed for a second time, the second spawned CGRect has the same name, dimensions etc, and thus has totally overwritten any existence of the old. So movement and resizing of the old is no longer an option.
Can anyone help me solve this dilemma, as i wish to be able to have more than one of the same item at the same time.
Thank you.
Code..
-(IBAction) zfridge{
CGRect zfridgeRect = CGRectMake(50.0f, 250.0f, 100.0f, 100.0f);
zfridge = [[UIImageView alloc] initWithFrame:zfridgeRect];
[zfridge setImage:[UIImage imageNamed
zfridge.opaque = NO;
zfridge.userInteractionEnabled = YES;
zfridge.multipleTouchEnabled = YES;
[self.view addSubview:zfridge];
[zfridge release];
}
Last edited: