Since UIRefreshcontrol does not work on tvos, I am looking for alternate solution to refreshing a UITableView. Does anyone have an idea?
Related
Is it possible to achieve the scrolling effect like iMessage in iOS 8+ in any ordinary UITableView?
preferable using Swift
cause it looks so cool...
What you are looking for is UIKit Dynamics
I was also interested on this some time ago and I refer this link to do it.
https://www.objc.io/issues/5-ios7/collection-views-and-uidynamics/
I would really like to do this with a MapView as background, and a TableView a foreground: http://youtu.be/ZrZ_B7DRqdo . Does anybody know a way to do this?
I would recommend following this tutorial but be aware, there is an underlying bug in iOS8 using this solution which you can solve easily like others did in this answer.
Another possibility is using SCStackViewControllers library available in github which will provide multiple examples on how to stack and animate transitions between multiple UIViewcontroller.
I've developed an app for iOS with Swift and now I'd like to add an ADBannerView in my tableviewcontroller just to show some iAd banners.
This is what I did :
I linked the iAd framework
In the ViewDidLoad of my tableviewcontroller I have added the following code :
self.canDisplayBannerAds = true
Quite easy! Perhaps too easy, because everything seemed to work fine, the view displayed the ad correctly but... performance was really bad!! My tableview scrolls smooth if I don't show the ad and keeps lagging while the ad is displayed... how come? What have I missed?
Thanks a lot
D.
thanks for your help, I was totally wrong, iAd wasn't the cause of slowness of my app.
I've found the problem (I was setting the font of a textbox inside the cellforrowatindexpath method).
I've upvoted your comments because they were the correct way to find the issue.
thanks again
All the best
D.
Keyboard height, that available in Keyboard extension is to small for inserting suggestions bar there. I found that several users on AppDevForum offered to use AccessoryView. But for using it we need access to TextField, with seems as impossible, eventually now. So does someone know how to get that access or how to solve this problem?
I think it's Apple's intention to not allow 3rd party keyboard to render beyond the default area, any hack way of doing it may cause rejections during app review... But try UITextDocumentProxy see if you can access text view from it?
I would like to use the UIRefreshControl in my iPhone app to trigger a refresh of several UISwitch controls but it appears that the refresh control is meant to only work with a table view. Is this true? Any recommendations to get this functionality without a table?
There is an open source control that mimics the appearance of iOS6's UIRefreshControl. It also works with iOS older versions and controls other than UITableView:
https://github.com/Vortec4800/ODRefreshControl
Hope this helps.