title: How to show recently views items like eBay in iOS app
body: <p>I am developing an eCommerce app for iOS. I want to display recently viewed products in one of my app's views. I want to do the same thing that eBay did in their iOS app. Whenever I viewed some product or searched for a product, it showed in a recently-viewed table.</p>
  
  <p>How can I do this in my iOS app? Any help is appreciated. Thanks.</p>