How to modify value of property in theos

i searched on goolge, but i cannot understand how to use this.
Can you give me an example?

All variables is readonly and have no getter :frowning:

usually the same name as the property。 Example: @property NSString* foo, then hook -(NSString*)foo{}

if property is readonly, the getter still work? right?

No it doesnt work and the program reads the value through magic /Sarcasm

i found it in here
But i don’t know Chinese so i can’t understand

so what i should to do?

Hook the ‘-[UIDevice systemVersion]’ as an normal getter. And return the value just you like. U should not worry about ‘readonly’.

i tried. but nothing change on 10.3.3, model, name same that

Show me. How do you hook the method? Do you use MobileSubstrate?

https://notepad.vn/kdlvfkm25
You can see my code in here

As i know, if want to get device info, we user [UIDevice currentDevice] >> i hooked
This function return a UIDevice object, but i cannot set value for value.

so how to test it ? your own app? or SpringBoard? or all app?

SpringBoard and About. and some app on apple store

paste your plist file here. i think you should modify it to make the tweak work.

Sorry. account block reply
Can you give me your contact like facebook and i will contact you?

you can contact me by email: magic.shuang@qq.com

i just send email to you.
Thank for your help very much

完结:修改 plist 里 com.apple.springboard => com.apple.UIKit

soveld :smiley: