[ios]Add HasPrefixSample