How can I control an app on my iOS device from Mac or PC

All iOS SDK apps work within a security sandbox, and thus have no access or control over any other apps (with a few tiny exceptions for registered URLs). You could take control of you own app, but no others, including Apple's, on a stock OS device.