【发布时间】:2021-01-02 05:04:44
【问题描述】:
我在我的应用程序中创建了提交审核操作。当用户提交时,他会收到成功警报。
在成功警报之后,我希望应用程序将用户重定向回应用程序中的上一页。我的帖子评论页面也是“当前模式”类型的,那么我如何在用户提交后使其下拉?
这是我的任务
这是我在提交时查看给用户的消息
let messageVC = UIAlertController(title: "Review submitted successfully!", message: "" , preferredStyle: .actionSheet)
self.present(messageVC, animated: true) {
Timer.scheduledTimer(withTimeInterval: 2.0, repeats: false, block: { (_) in
messageVC.dismiss(animated: true, completion: nil)})}
如何将他重定向回我的 tableviewcontroller?
【问题讨论】:
-
@RomanRyzhiy 这也适用于 tableview 吗?
-
@RomanRyzhiy 我的提交评论页面的类型是模态的,所以在这种情况下也能正常工作吗?