Can you recommend to a patient any iphone/ipad apps for controlling intake of prescription medication, like pain meds, to ensure against abuse?

Not yet... I'm sure the tech-ies are developing apps like that as we speak; the problem will be that there is no oversight nor regulatory agency that will provide oversight for it...Yet.