开发者

Unload a flipview

开发者 https://www.devze.com 2023-03-03 16:48 出处:网络
I need to fully UNLOAD the flipview don\'t ask me why but i NEED to. i have tried [super release]; and it didnt work below is my back button and then the did fini开发者_JAVA技巧sh. Please help me to u

I need to fully UNLOAD the flipview don't ask me why but i NEED to. i have tried [super release]; and it didnt work below is my back button and then the did fini开发者_JAVA技巧sh. Please help me to unload the view.

on the first view which gets activated once the flipview has finished.

- (void)flipViewControllerDidFinish:(FlipViewController *)controller 
{
    [self dismissModalViewControllerAnimated:YES];
}

on the flip view which is a button that hides the flip view just hides doesn't unload

- (IBAction)Back:(id)sender
{
    [self.delegate flipViewControllerDidFinish:self];
}


   [myFlipViewController.view removeFromSuperview];
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号