toggle switching dark mode programmatically macOS Mojave - macos-sierra

Currently, I did not find a way of toggle macOS Mojave's dark mode programmatically.
An Apple Script here works but it is very difficult to be embedded in Sandbox apps. Yes, actually you can do like this.
The purpose for this request would be a one-click user switching within the app. It would be very convenient for them in some apps like my FocalPoint.
There is another related question & solution but it is quite different and not what I need.

Related

How to create a tweak for jailbroken iPhone

My question is... Can we use Xcode to create a tweak for jailbreaked iPhone? Foe example if I want to add some button in the lock screen how can I do? How can I mod the GUI of the default iPhone applications?
This is a really old question, but David is actually incorrect on most counts.
You can add custom UI to jailbroken devices, create tweaks without Xcode, hook into anything you wish, and more, without even having the source code for SpringBoard or wishing for it to be extensible.
MobileSubstrate is a code replacement platform that literally allows you to do anything. You don't even need to be an expert, but admittedly, having at least a moderate grasp on programming and Objective-C concepts helps a lot.
What you're talking about cannot be done. You're assuming 1) that you will have the source code for Springboard (lock screen), and 2) that those programs are extendable.
Without having the source code (it's proprietary), you cannot make "Tweaks" to the lock screen. You have nothing to compile into the lockscreen.
While you can mod them by editing the internal plists (simple things like show title bar or disable rotation), you will not be able to add functionality using XCode.
To create "tweaks" you would have to rewrite the lock screen entirely, or insert very low-level hooks into the Springboard/iOS. This is not possible via Xcode alone, since Xcode is not capable of even installing iOS-level apps (all installed apps are user-level).
You need expert knowledge of the private framework calls, and possibly be capable of disassembling and reverse engineering the specific program you're trying to extend.

Possible to load an iOS app inside another iOS app (via in app purchasing / subscription)?

Long story short, we're building interactive content in Flash that we'd like to package and make available through an iOS app (either via in-app purchasing or subscription, or both).
Flash obviously can output standalone iOS apps, and in our tests for our purposes this packaged output works well. So rather than completely re-writing our content in HTML5 (so it could be loaded via WebkitView) we're curious if there's a way to serve a fully packaged app as in-app content?
If not, any other ideas how we could do this without completely rebuilding our interactive content? And if we do have to do that, is HTML5 the only option? Anything else that will make the port from Flash to ready-for-iOS less painful? (The Flash -> HTML5 porting tools are dreadful).
Thanks!
No there is not. This goes against the security policy iOS enforces of apps.
In terms of what you can do otherwise, it's really difficult to make any suggestions when you're not providing any details. The best I can suggest is include this functionality in your app, but disabled. In-app purchase will just download some sort of unlock code which can be used to make it available in your app.
Afaik something like this can not be accomplished by creating several apps. You would have to pack everything in just one app, and then make some parts of that app available as in-app purchases. As this is realized through specific SDK functionality, if your tool for compiling the flash to iOS-ready code doesn't support it, you are pretty much stuck there.
In case the tool produces human-readable code from your flash, you can add the in-app purchase manually.

is Zen nineSixty theme compactible with iPhone?

I have created a custom theme using Zen nineSixty (960 Grid system) in drupal and it works and looks great on all major browsers. I was just wondering if anyone could let me know if I need to do anything else to get this theme working on iPhone or is it auto compatible. Many of our potential clients use iPhone so was wanted to check in if Zen nineSixty (960 Grid system) is iPhone compatible.
Thanks!
You don't have to do anything special to things to work on the iPhone. iPhones can render all normal webpages it does use webkit after all. The 960 grid system wont be a problem either.
If you want to make it really slick, you will have to make a mobile version though. But then you can make your site look like a native application.

iPhone Browser Live Testing

I'm using win7.
and i have website which i want to test it with iPhone browser environment.
which it's use most flash (jISFR).
this is the website i talking for,
http://www.hamuranalodge.com/
may you can see menu navigation is using flash jSIFR, which it's seems not work in iPhone, and want to fix it. of course i need iphone Testing for it.
Is there somebody know how i can test it with iphone browser?
may there is a software can do it?
or a website give service like that?
Thanks
Not a perfect solution but you might be able to test it on the Android browser instead. The SDK runs on all major OSs and is free to download and install. Just make sure that flash support is turned off. I'm pretty sure iPhone and Android both use WebKit so you should get similar behaviour on both.
You could use the iPhone simulator if you have access to a Mac.
There are sites like this:
http://www.testiphone.com/
but this one doesn't work very well, at least not for this particular request. Go there and point it at www.worldsbk.com - it renders the Flash block on the top right hand side just fine on my desktop computer (Firefox3 Mac OS X), but have a look here:
http://www.flickr.com/photos/bigiain/5037577763/
to see a screen grab of that page from my iPhone... Note the big grey block where the flash bit should be...

can you install an iphone app with an invisible icon?

So I am working on a bundle of applications for my company for the iPad and am trying to figure out if it is possible to install an app but hide the icon. It will not need to be launched from the desktop directly. Instead, I have created a launch desktop that controls login and the launch of the actual apps via custom URL schemes. We decided to do this so we can have many people developing different apps at the time time that quickly and easily connect to a single login and launch desktop. We are trying to make all of the services we offer interconnected.
Does anyone know if this is possible? Or am I going to have to redirect to the login app if the user launches any of the individual apps. That is what we were trying to avoid. It would be incredibly annoying and clunky for the user. Any help would be greatly appreciated! Thanks!
No is the short answer, you can't install an app and hide the icon.
Even if you could, your architecture sounds pretty clunky. If your services are interconnected, then would it not be better to have everything in the same app? There are plenty of ways to share coding between many developers without everyone having their own, separate app.
Maybe.
There used to be a trick where if you installed so many apps that you filled up every page, any apps installed after that would not have a visible icon (but you could run them via a Spotlight search).
If this behavior still exists, then fill up your iPad's launcher/springboard with apps (download 100's of free games, etc.), then install the apps that you want to be invisible, then delete all the games, and your chosen app might remain with an "invisible" icon.