{"id":746,"hash":"8c6dd2ab80edf300c1e81973ca8b828cacdcb491a5b6c5ccca1dedb0a87ffb28","pattern":"How do you hide the warnings in React Native iOS simulator?","full_message":"I just upgraded my React Native and now the iOS simulator has a bunch of warnings. Besides fixing them, how do I hide these warnings so that I can see what's underneath?","ecosystem":"npm","package_name":"ios","package_version":null,"solution":"Update: React Native 0.63+\nconsole.disableYellowBox is removed and now you can use code below to ignore all log notifications.\n\nimport { LogBox } from 'react-native';\nLogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message\nLogBox.ignoreAllLogs();//Ignore all log notifications\n\nOld answer before React Native 0.63\nAccording to React Native Documentation, you can hide warning messages by setting disableYellowBox to true like this:\n\nconsole.disableYellowBox = true;","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/35309385/how-do-you-hide-the-warnings-in-react-native-ios-simulator","votes":220,"created_at":"2026-04-19T04:51:34.619280+00:00","updated_at":"2026-04-19T04:51:34.619280+00:00"}