if let result = self.lasrIDArray.flatMap({$0["\(self.selectedTitle)"]}).first { print("-------RESULT------\(result)") //->title of the other if let number=result as? NSNumber { let tag=number.integerValue let currentScroll=self.view.viewWithTag(Int(api.selectedCatID)!) as! UIScrollView let lastImgVw=currentScroll.viewWithTag(tag) as! UIImageView print("-------LASTIMG ORIGIN------\(lastImgVw.frame.origin.y)") }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)