10. Укажіть які основні інформаційні процеси здійснюються під час
створення відеофільму?
296
439
Ответы на вопрос:
"; nsstring *sqlpath = [[nsbundle mainbundle] pathforresource: db_basename oftype: @"sqlite"]; fmdatabase *mydb = [[fmdatabase alloc] initwithpath: sqlpath]; [mydb open]; // subgrouppicarray = [[nsmutablearray alloc] init]; a = selectyear; b = selectvar; if([selectyear isequaltostring: @""]) selectsql = [nsstring stringwithformat: @"select text, question.sort, name from question, main where main.key=question.key and var=\"%@\"", selectvar]; else selectsql = [nsstring stringwithformat: @"select text, question.sort from question, main where main.key=question.key and name=\"%@\" and var=\"%@\"", selectyear, selectvar]; fmresultset *results = [mydb executequery: selectsql]; while([results next]){ if([[results stringforcolumn: @"text"] isequaltostring: @""]){ myhtml = [nsstring stringwithformat: @"%@ ",selectvar,[results stringforcolumn: @"sort"]]; // добавление картинок в тело письма nsstring *testimg = [results stringforcolumn: @"sort"]; if (! [testimg isequal: @""]){ testimg =[nsstring stringwithformat: @"%@.jpg",testimg]; // testimg = [nsurl fileurlwithpath: [[nsbundle mainbundle] pathforresource: testimg oftype: @"jpg"]]; nsdata *imagedata = uiimagejpegrepresentation([uiimage imagenamed: testimg],1); [mc addattachmentdata: imagedata mimetype: @"" filename: testimg]; } } else // формирование текста страницы просмотра myhtml = [nsstring stringwithformat: @"%@
%@
Популярно: Информатика
-
Pro100darik13.11.2022 19:48
-
Антонggez10.10.2021 15:39
-
88005555355505.02.2020 12:26
-
Nigdui09.04.2023 12:06
-
Frienden03.10.2021 09:09
-
sasha2005k130.01.2022 10:13
-
Экфолорд08.06.2021 05:48
-
Coul2000nator23.04.2020 07:16
-
Мосендз15.01.2021 04:53
-
юла11515.12.2021 10:55