Facebook Native Ads in Custom Table Cells - ios

I'm trying to integrate Facebook Native Ads in my app using that guide:
https://friendlyublog.com/implementing-native-facebook-ads-for-ios-apps-9dc4174ae1a3
The ads load just fine and I can display them in my TableView, but it seems I can't make them tappable despite using registerView as documented in the SDK.
Did any of you meet the same issue? Any idea what could make registerView not work? Something is obviously messing with tap events but I just can't figure out what's going on...
Any help or pointers would be greatly appreciated...

Related

How can you prevent users from taking screenshots in a React Native IOS app?

I am currently building an IOS app with React Native, and I am looking into how to prevent users from taking screenshots on certain parts of the app.
I read this article on this issue: https://www.netguru.com/blog/prevent-screenshots-react-native, and I learned that there are basically two options. I can either use the paid ScreenShieldKit SDK or I can create an invisible screen animation that somehow covers the content of the app in a screenshot.
I am not looking to pay for ScreenShieldKit, so how can I go about making this animation to cover screenshots on my app, and will it even work?
Any help is appreciated. Thanks!
The two options for preventing screenshots on a React Native IOS App
ScreenShieldKit's technology is patented. And more likely than not, it is based on the other solution which you yourself know of (invisible screen animation). So it may not be wise to post the exact code here, as it could very well infringe upon their patent.

How to reproduce iOS 11 maps bottom sheet with React Native

Can anyone tell me how I can mimic the bottom sheet in the new maps app in iOS 11?
In android you can use a "BottomSheet", which mimics this behaviour, but I could not find anything like that for iOS.
Is that a simple scroll view with a content inset? So that the search bar is at the bottom?
I am fairly new to iOS programming so if someone could help me creating this layout that would be highly appreciated.
This is what I mean by "bottom sheet":
I see this is old an question but for anyone struggling with this issue. you can use this module https://github.com/wix/react-native-interactable. Here is demo
https://github.com/wix/react-native-interactable/blob/master/playground/src/real-life-examples/MapPanel.js
Maybe you could give a try to Modalize https://github.com/jeremybarbet/react-native-modalize I've been working on it to be able to create all kind of bottom sheets similar to that.
It´s not called anything special, but some refer to it as "Card". Here is a great tutorial of how to implement the bottom card as Apple Maps.

Scrolling UICollectionViewCell to background instead of vertical

I'm trying to recreate the Shazam Discover UI by subclassing UICollectionView/UICollectionViewFlowLayout.
I've got as far as paging the cells and making them the right size, however, I'm having trouble getting the cells to scroll to the background, as in, I don't have a clue on how to get it done, I've searched everywhere but can't seem to find it.
An example of what I'm trying to achieve:
Any help/tips on how I could do this would be greatly appreciated.
edit: I ended up building my own solution:
https://github.com/JoniVR/VerticalCardSwiper
You could use third party libraries to achieve the same.
You may use StickyCollectionView. This is an Objective C based library. I believe this one with some customization will help you to approve this.

iOS: how to create facebook like wall or newsfeed in iOS

I am working on an iOS app in which i have to create a wall/newsfeed similar to facebook's newsfeed with all the option like, comment, share.
the main problem is i went to so many websites to get any useful solution how to create it. I am using UITableView with custom Cells with UIImageView and other options in it. but if any person post any Post which does not have any image in it the UIImageview shows blank space.
Please someone help me to sortout this problem
I also tried this question: How to make a beautiful Tableview like Facebook ios app or tumblr app?
Here it is an example that could help you. It will help you make what you want https://github.com/AaronBratcher/UserFeed

iOS Swift - pull tray open to expand content

I've been searching for a library or sample project that implements the following functionality, but unfortunately haven't been able to find much. Could anyone share any thoughts or point me in a general direction if experienced something similar?
I'd like create a pull-out view controller/tray whose interaction is very similar to the Google Maps iOS app (http://i.stack.imgur.com/l1QHt.png). When a user taps or pulls-up the snippet pane, the view expands until fully maximized. Essentially the same interaction as seen in the Maps app.
I'm happy to implement from-scratch if a library doesn't exist, but regardless wanted to seek any suggestions/insights before getting underway.
Thanks again for your help & advice!

Resources