Tuesday, 11 September 2012

How to use uiview in subviews in iphone sdk

for (UITextField *txt in ViewPost.subviews)
    {
        if ([txt isKindOfClass:[UITextField class]])
        {
            if (txt.tag==index)
            {
                txt.text = appDelegate.answerDynamic;
                [appDelegate.arrAnswer addObject:appDelegate.answerDynamic];
                NSLog(@"%@",appDelegate.arrAnswer);
            }
        }

    }

1 comment:


  1. wow that post is nice and if u have some code then please share with me i m waiting for yours the next post
    thanks
    -------------------------
    iPhone App Development And
    iOS App Development

    ReplyDelete