Substrate
public struct Substrate : DefaultBackend
A backend which utilizes CydiaSubstrate APIs for hooking.
This backend can hook most functions and methods. Therefore if the target system has CydiaSubstrate – or another hooking framework which vends its API – installed, this backend makes for a sensible default choice.
Warning
Do not use this backend if the target system does not have a framework which vends the CydiaSubstrate APIs. Doing so will result in the process crashing with an “undefined symbols” error.-
Declaration
Swift
public init()
-
Declaration
Swift
public func apply(descriptors: [HookDescriptor])