For now, iPhone has no built-in feature to scan bar codes. But you can use many bar code scanning apps by installing them from App Store.