NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString* documentsDirectory = [paths objectAtIndex:0]; // Documents Directory NSString* FilePath = [documentsDirectory stringByAppendingPathComponent:@"FileName"]; // FileName
CGRect frame = _textView.frame; frame.size.height = _textView.contentSize.height; _textView.frame = frame; Edit: sizeThatFits returns the size but does not actually resize the component. I'm not sure if that's what you want, or if [textView sizeToFit] is more what you were looking for. In either case, I do not know if it will perfectly fit the content like you want, but it's the first thing to t..
#if __IPHONE_3_2 && __IPHONE_3_2
-- 데이터 복구 관련 --Check .bak FileInfo RESTORE HEADERONLY FROM DISK = 'D:\backup\2010 12 23\iwantor.bak' RESTORE FILELISTONLY FROM DISK = 'D:\backup\2010 12 23\iwantor.bak' --위 명령어로 체크 후 아래 내용 참고 --Restore the Database RESTORE DATABASE IWantor FROM DISK = 'D:\backup\2010 12 23\iwantor.bak' WITH Move 'MentoLog_Data' TO 'D:\data\iwantor.mdf', Move 'MentoLog_Log' TO 'D:\data\iwantor.ldf' 데이터 이전 시 데이터 베..
위 태그 삽입 이것도 삽입..