use tag to determine the task a slider does if and only if a button is tapped
问题 My swift code right now uses a func addBOx to add a series of imageviews to a uiviewcontroller screen. When the user double taps on a single imageview it allows it to change the width of it. When the series of imageviews is on the screen and the user taps the opacity button then if and only if they tap the opacity button then after touch the iamgeview that was added then the slider that was added to changed the width changes the opacity or alpha of the imageview selected. I have added the gif