//viewdidload
{
str1 = [[NSMutableString alloc] initWithCapacity:0];
str2 = [[NSMutableString alloc] initWithCapacity:0];
}//
for (int pq=1; pq<=temp; pq++)
{
str1 = [NSMutableString stringWithString:[documentManager wholeTextForPage:pq] ] ;
[self.str2 appendString:str1];
NSLog(@"content of page chumma1: %@",str1);
}
NSLog(@"cwhole text: %@",str2
**ここで、str1 は反復ごとに異なる文字列を返します。str1 から返されたすべての文字列を str2 に追加しようとしています。ただし、str2 は、最初の反復で str1 によって返された文字列を 1 つだけ返します。他の反復で返される文字列は、str2 に追加されません。これをソールにする方法を見つけるのを手伝ってください。前もって感謝します。
ありがとうございました VEERA **