我想在imageview的左上角和右下角创建删除按钮。但它看起来不像我需要的。我希望两个按钮都放在红色边框的一角为了创建按钮,我使用了下面的代码UIImageView*tappedView=(UIImageView*)[recognizerview];[tappedView.layersetBorderColor:[[UIColorredColor]CGColor]];[tappedView.layersetBorderWidth:2.0];tappedView.layer.cornerRadius=10;tappedView.layer.masksToBounds=NO;UIButt