ios - Issue with updating app and UITextView -


i have app has uitextview in it. user presses button , action changes text on uitextview. app functional , in appstore right now, built using ios 4.2.

with out changing code. when testing new version of app building ios 6. app not show text in uitextview when installed in simulator or new device. uitextview blank...but when using nslog writes log there text in uitextview.

i have noticed if device had previous version of app, in appstore. , compile new version of app onto device, app functions suppose , uitextview updated when button pressed.

in .h file

#import <uikit/uikit.h>   @interface timesheetviewcontroller : uiviewcontroller <uitextviewdelegate> {  }      @property(nonatomic, retain) iboutlet uitextview *logtextview; 

in .m file

@synthesize logtextview;      -(ibaction)buttonaction     {            logtextview.text = [nsstring stringwithformat:@"%@ \n new words go here...", logtextview.text]; nslog(@"%@", logtextview.text);     } 

even trying have text set uitextview interface builder fails show unless app pre-existing when new version compiled onto device

try using settext method of textview.

[logtextview settext:@" new words go here..."]; 

if doesnt work, check if have set textview not editable ie user interaction disabled or in xib file if have one.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -