views:

18

answers:

0

HI

I have created a chain of UIViews(like tableview cells) on a content view and each UIView has a button on it which(button) has a unique tag associated with it.

Now what I am doing is when the user taps a button a tableView gets loaded just below the view which contains the button which was tapped and the below UIViews gets shifted to some distance below.

The problem which I am facing is that after tapping the first button when the user taps the other button the value of the tag of that button is different than what I have assigned to it while creating it.

In my code I am not changing the value of the tag anywhere.