开发者

Excluding Documents From UITableView

Somehow on the simulator, it has gotten the data from a file that doesn't exist, yet persists in the simulator's memory. Because apps are sandboxed, it must be from an early method that I neglected to delete, but searching through开发者_JAVA百科 my app's methods, none of them CREATE files, just view them.

My question is this: can data be excluded from a UITableView that is displaying content from the app's

\documents    

folder? I only want to display files that end in .pdf.


Iterate through each file and look for the suffix .pdf. See NSString hasSuffix

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜