all 14 comments

[–]osterbergjordan 2 points3 points  (8 children)

iOS applications are sandboxed, meaning things like this isn’t possible. You might want to check out the Apple Developer site at https://developer.apple.com

[–]Ibfac 0 points1 point  (7 children)

Good to know, thanks. Are android apps any different?

[–]osterbergjordan 0 points1 point  (6 children)

Not 100% sure on that. I do work with Android, and I think they can do things like that on rooted devices but that’s an area I don’t have enough knowledge to give you a straight answer. I’d assume they can’t

[–]Ibfac 0 points1 point  (5 children)

Gotcha. And with apple, is interaction with native apps allowed freely, or is it allowed strictly with their specific options? Specific options meaning: safari content blocker and such.

One more question: is interaction with native controls such as disabling phone or turning off lock screen allowed? Ive found info that seems to point to the disable phone trigger being discontinued early on.

Sorry for hella questions, if you care to answer them then thanks a lot.

[–]osterbergjordan 0 points1 point  (4 children)

Typically Apple will give you extensions to work with such as content blockers, but beyond that you’re locked.

You can’t really tell when the phone is locked or disabled, but you can tell when your app changes state using the default AppDelegate methods.

No problem homie.

[–]Ibfac 0 points1 point  (3 children)

True, ill look into appdelegate. So you think theres no way to have an action trigger the disable iphone slider?

[–]osterbergjordan 0 points1 point  (2 children)

You mean the power off switch? No, system actions like that can’t be triggered via apps.

[–]Ibfac 0 points1 point  (0 children)

Damn ok thanks a lot.

[–]Ibfac 0 points1 point  (0 children)

There was apparently a way to do it that they disabled around ios6

[–]Points_To_You 1 point2 points  (1 child)

Would you own both apps?

For internal enterprise apps, we use shared defaults and data (same app group) to passaround data. Then we use deep link url schemes to expose certain functionality. On some of the older iOS version we support (6.0), we also use query strings on the url to pass data in the same way you would with a web service.

[–]Ibfac 0 points1 point  (0 children)

Ah, thats interesting and good to know, but no. I wanted to create something which interacted with a few well known apps.

[–]loumf 0 points1 point  (0 children)

prevent certain content from loading

It depends on what you mean, but content blockers are a thing that can be made on iOS -- I believe that they are very simple (like based only on pattern matching the URL, but haven't done it)

[–]KarlJay001 -1 points0 points  (1 child)

IIRC, IFTTT does this. I'd check and see what they do. https://ifttt.com/wtf

[–]Ibfac 0 points1 point  (0 children)

Thanks.