पर मैं एक UITableViewCell के सहायक दृश्य बदलने के लिए जब इसकी पंक्तियां चुनी जाती हैं कोशिश कर रहा हूँ, मैं निम्नलिखित कोड है:बदलें UITableView accessoryView पंक्ति का चयन
- (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell* cell = [self tableView:aTableView cellForRowAtIndexPath:indexPath];
UIActivityIndicatorView *activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
[activityView startAnimating];
cell.accessoryView = activityView;
[activityView release];
}
लेकिन यह काम नहीं कर रहा। कोई विचार?
और btw आप भूल जाते हैं न नहीं बताते हैं कि कारण है कि मैं यह आंकड़ा करने की कोशिश की है, तो आप पृष्ठभूमि भी^सफेद है सफेद गतिविधि सूचक देख सकते हैं) – Sergnsk
एक और सेल चुनने के बाद गतिविधि संकेतक क्यों हटा दिया गया। –