我有一个UIImageView内部的UITableViewCell,并希望将它扩大到充满整个屏幕,我有我的设置UIGestureRecognizer和我使用此代码扩展框架:
[UIView animateWithDuration:1.0 animations:^{
[self.ImageView setFrame:[[UIScreen mainScreen] applicationFrame]];
}];
Run Code Online (Sandbox Code Playgroud)
但是,UIImageView只会扩展以填充UITableViewCell并且不会填满整个屏幕.
任何帮助将非常感激.