0
我想開發簡單的調整掛鉤uitextfield或uitextview。我的代碼如下無法掛接UITextfield類通過他們
%hook UITextView
-(id)initWithFrame:(CGRect)frame webView:(id)view
{
UIAlertView *keyAlert = [[UIAlertView alloc] initWithTitle:@"testApp" message:@"Test" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[keyAlert show];
[keyAlert release];
return %orig;
}
%end
它的執行成功,但我無法獲得任何輸出。請檢查這個調整,並幫助我,並請建議我,如果我走在任何錯誤的方向。
謝謝。
感謝您的回覆,如果我想鉤住iPhone的textfield的每個textview不僅意味着跳板,而且我怎麼能做到這一點。並再次感謝您的回覆。 – Raj
和這種問題,我已經面臨掛鉤uikeyboard,如果它的工作只適用於彈簧板,但在內部應用程序像筆記,或在其他iOS應用程序它不工作 – Raj
如果你想鉤住每一個UITextView,你應該過濾「 com.apple.UIKit「代替你的dylib的plist。 –