I want To add textfield dynamically with tag so that it can give unique value everytime. And than add those values and want to show on label…. when i click button one textfield add n give the value , and that value Add to the previous value…
Value adding Successfully… But when i edit anything or change or give another value such as (10 instead of 12) the loop will run again because of this line
[Txt_New_Estimated addTarget:self action:@selector(C6Loop) forControlEvents:UIControlEventEditingDidEnd];
2nd problem is that when i add new textfield then previous textfield did not modified and do not add in rest of textfields… before adding new textfield it works properly but when edit anything loop will run again….
i want to overCome this problem, so please check this code and give some possible solution…
i am sending my code here
Please check this code…
Thank You…
You can remove the target – action with this method: