我有一张UIAction Sheet,有4个按钮,1个是删除.删除运行完美,但现在我想添加一些确认框,所以如果用户点击"是"按钮,该记录将被删除,否则不会.我不知道如何添加此确认框和在哪里?
先感谢您.
I have a test which Posts some items
e.g.
POST:item : 1
POST:item : 2 and so on
and now in 1st Post request, I am trying to set a global variable in pre-request-script
postman.setGlobalVariable("item", 1);
and use this variable in the body e.g
"item": "{{item}}",
Run Code Online (Sandbox Code Playgroud)
it work.
Now in 2nd Post request, I wanted to increment global variable, in pre-request-script
item=item+1;
postman.setGlobalVariable("item", item);
Run Code Online (Sandbox Code Playgroud)
and in body same as above. but its give following error
There was an error in …
我有2个视图,两个都是表视图第一个视图列表就在那里,所以当用户点击特定单元格时,我想获取所选单元格的文本并存储到变量中并推送第二个视图
例如stringVariable = cell.text
第二个视图
现在我想通过使用stringVariable变量来设置视图的标题
例如self.title = stringVariable;
我希望有人知道这个问题
先感谢您
我有一个数组,我想在特定的索引提取数组的值,如:
NSString Val1 = Array1[index1];
Run Code Online (Sandbox Code Playgroud)
array是NSMutableArray.
我想从NSMutableArray中获取值,但是想要从最后一个索引读取到第一个索引
谢谢
iphone ×4
objective-c ×3
xcode ×2
arrays ×1
confirmation ×1
copy ×1
postman ×1
reverse ×1
title ×1
uitableview ×1