Closed youens closed 6 years ago
This method is very simple:
+ (BOOL)isTextExpanderTouchInstalled {
return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"tetouch://"]];
}
Probably you are missing these steps from the Readme instructions
As of iOS 9 you must "whitelist" TextExpander URL schemes so that openURL and canOpenURL can work properly.
Select your app's target
Let us know if that does not solve it.
We're seeing an issue where calling
[SMTEDelegateController isTextExpanderTouchInstalled]
on iPad always returnsfalse
. We've had TE3 installed, as well as TE4. The effect in our app is pretty large in that it prevents any use of TE.Perhaps it's an issue on our side, but it works fine on iPhone (same project, different target). Can anyone confirm that it does in fact work properly in all scenarios?