简体   繁体   中英

Not able to enter a string in the TextField of UI-(iphone)

I brought a new MAC-MINI before this i was using MAC BOOk Pro..

i am facing some problem with xcode, the problem is when i run the Application where ever there is a TextField in the UI when i click to enter its not taking input,it takes hardly 1 or 2 strings and throws thread....

when i try to enter its throwing Thread in main() function telling EXC_BAD_ACCESS...

NOTE:The apps which were working before in Mac book Pro's xcode i mean apps which contains TEXTFIELD in the UI is also not taking input in the present xcode of MAC MINI.

if i tried without writing any code just placing a TextField in the UI and running it ,even then i am not able to enter anything in the UI its just throw Thread in main() function EXC_BAD_ACCESS..

I am not able to solve this issue may i know why its happening like this?

ITS NOT TAKING ANY INPUT IN TEXTFIELD OF PREVIOUS WORKING APPS AS WELL..

Is the problem with Xcode?

Plz Suggest me to solve this issue..

Thank u

Are you setting an object as the textField's delegate?

When you type in the text field, it tries to call its delegate (if it's not nil) to notify about a change in the text. If for whatever reason the delegate is dealloc'ed, you get this type of error, as the textField is trying to reference a deallocated object.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM