Posts

Post not yet marked as solved
8 Replies
3.9k Views
I have a UITableView inside a UIViewController (not UITableViewController) with a UISearchBar at the top of the table view that's shown and hidden via a search button on the UINavigationBar. When you scroll to the top the table view's background is shown above the search bar. I've been doing a lot of research and can't figure this out. PLEASE HELP!!http://i1152.photobucket.com/albums/p493/-roar/Image-1_zpswgtd0w6d.jpgmake sure your ad blocker is on before clicking the link. lots and lots of ads
Posted Last updated
.
Post marked as solved
2 Replies
541 Views
My app utilizes auto-renew subscriptions. To check the status I refresh the receipt, validate it with the iTunes servers, and check the expiration date of the last object of "latest_receipt_info"if let receiptInfo: NSArray = json["latest_receipt_info"] as? NSArray{ let lastReceipt = receiptInfo.lastObject as! NSDictionary let productid: String = lastReceipt["product_id"] as! String let bundleid: String = Bundle.main.bundleIdentifier! + ".monthly" let expirationDate: Date = (formatter.date(from: lastReceipt["expires_date"] as! String) as Date?)! }The issue I'm having is that the order of receipts in "latest_receipt_info" is completely wrong. The order is constantly changing. I was having no issues with this until today. Could this be a bug, or am I doing something wrong?
Posted Last updated
.
Post not yet marked as solved
0 Replies
464 Views
The app I'm working on is pretty simple. It simply stores, organized, and plays videos added to it's library. The interface is a table view with the name, size, and date of creation of the videos. Each cell in the table view also has a thumbnail image of the video which is generated on app startup. There is nav and tab controller which allows the user to go the trash and settings. It's not graphics heavy at all from what I can see in my code. However, my debugger is telling me that I'm using a lot of power and that all of it is from the display. I'm testing this with my iPhone Xs. Can someone please point me in the direction I need to look?
Posted Last updated
.