-(void)setFrame:(CGRect)frame{
frame.origin.x = 5;
frame.size.width -= 2 * frame.origin.x;
frame.size.height -= 1; //分割线
[super setFrame:frame];
-(void)tapGestureAction:(UITapGestureRecognizer *)tap{
// 初始化控制器
EssenceImageViewController *imageVC = [[EssenceImageViewController alloc]init];
// view没有present方法,所以使用UIApplication
[[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:imageVC animated:YES completion:nil];
727




被折叠的 条评论
为什么被折叠?



