我在Swfit 4中有这个应用程序,我想转到一个特定的视图控制器。我让它在用户登录时工作: let storyboard = UIStoryboard(name: "Tracker", bundle: nil)
// instantiate the view controller we want to show from storyboard
// then we push the new view controller to it
if let conversationVC = storyboard.instantiateVie
嗨,我正在我的应用程序中开发一个使用swift2的应用程序,我想每5分钟跟踪一次用户成功登录的位置,现在我可以成功地跟踪用户的位置,现在我想跟踪应用程序的背景位置,因为我必须使用app委托,但是所有的功能和方法都是我只在视图控制器中编写的,所以我如何调用视图控制器方法和函数来应用程序委托。
viewController中的代码
class ThirdViewController: UIViewController{
In view did load:
{
////// i created timer scheduled with time internal /////
}