i\'m scanning wifi info using NSMutableArray, but there are few duplicate values appear, so i try to use following code but still getting the duplicate values,
You should be using an NSMutableSet in the first place.
For eliminating all double entries in an array, see this question: Make NSMutableArray or NSMutableSet unique.