A suspected drug addict was apprehended by SWAT police in Shanghai yesterday after a two-hour standoff in which he paced back and forth on a ledge waving a knife around, Shanghai Daily reports.