i using code
uialertview *alertview = [[uialertview alloc] initwithtitle:@"call forward enabled" message:[nsstring stringwithformat:@"all calls %@ forwarded voicemail.\n condition:\n %@ ",selected_phone_numbe ,selectedoption] delegate:self cancelbuttontitle:@"ok" otherbuttontitles:nil, nil]; 
selected_phone_numbe , selectedoption looks either array or the string contains ( , ).
check class type (class introspection) if array, use array[0].
if string can replace ( & ) empty string.
Comments
Post a Comment