記錄一下 自己用著方便
http://bbs.iosre.com/t/how-to-test-notify-post-in-cycript/1337
自己隨便hook一個(gè)app,然后發(fā)送就行了
<pre>
cy# np = @encode(unsigned int()(char const))(dlsym(RTLD_DEFAULT, "notify_post"))&0x3a7623e5cy# (*np)("com.apple.accessibility.defaultrouteforcall")
</pre>
com.apple.accessibility.defaultrouteforcall改為自己的通知名字吧