You need stomach acid to, amongst other things, release dietary B12 from the proteins it is bound to.
Antacids, like Gaviscon, neutralise any acid present in the stomach. If you take it a sufficiently long time after eating then the acid should have had time to do its job.
PPIs shut down acid production. It doesn't matter when you take them, there will be little, or no, acid present when you eat your food. So the B12 will remain bound to protein and unabsorbable.
Last year I was suspected of having an NSAID-induced gastric bleed. My gastroenterologist told me that topical creams were just as bad as pills.
Content on HealthUnlocked does not replace the relationship between you and doctors or other healthcare professionals nor the advice you receive from them.
Never delay seeking advice or dialling emergency services because of something that you have read on HealthUnlocked.