Placing ads in an UICollectionView - ios

I'm currently developing an app that requires ads placed within the cells or "tiles" of a grid. The grid is created using a view controller with an UICollectionView. It has two cells going across and is scrollable vertically. The fabric SDK I'm using gives users the option to implement mopub ads within apps and I would like these ads to appear randomly within the grid. Any suggestions? The app is also a basic RSS feed I'm experimenting with.

Related

How iOS Photos app Collection view layout works

I'm trying to create an app like iPhone Photos
the Photos App loads all the images in the Collections in small grids, how the collection view cells will be resized as per the images, is there any library or built-in SDK to do this
I want to display images in my app like in iOS Photos app collections/years, is i have to use UICollectionView or Any other Object to achieve this
I googled for this, i cannot find any library or hint regarding the Mosaic view like iPhone Photos App
Thanks in advance...
You can use UICollectionView for this task.
Example: Three controllers in navigation stack with different UICollectionViews:
Years. Every year's time range has own section.
Year. Every month's time range has own section.
Month. Every day's time range has own section.

creating a view that resembles the apple app store

So I'm creating an app at the moment and one of my views has a design that resembles the Apple app store where there are multiple icons in sections that are scrollable horizontally as well as being able to scroll vertically through the sections (Categories). Anyone with an iPhone can simply open the app store application on the device and view the featured tab to understand what I'm trying to achieve.
My question is how to achieve the design in the app store. Im assuming its a combination of multiple components such as a table view/collection view, scroll view and image views.
I don't believe there are any duplicates to this question from my research, but as always I stand corrected. Any insights or direction would be great.

Ideal place for iAd Banner

I want to integrate iAd in my app. My app is tab based application. Most of my views have TableView in it. What can be the best place to display banner, should I display bottom of the TableView or top of the TableView?
Bottom of the tableview is a good place to place the ads, as there are more chances the use will click on the ads when he/she wants to tap on the tabs. Check Other apps also. The app "FindHrr" I have developed has a similar design where we have placed the app below the tableview.

Any potential issues using uitableview and uiwebview to show mini google map

Im looking into having a tableview and a custom cell that has a webview control. The purpose of the webview would to show a google map inside the webview at some lat/long.
Could there be problematic with this approach? Memory issues?
Another approach would be having a uiimage and use the google map static api to generate the image and store the image on my server and have the app request the image via a URL.
I was hoping to avoid generating the images and storing them on my server and using directly the google map in a web view, but not sure what kind of issues i could run into with this approach?
The only problem is speed. If your table view consists of rows and rows of MKMapViews, it will take time for each one to load as the user scrolls through them. However, if there is only one it shouldn't be a problem.
The static image approach has the same problem but I think it might be slightly faster.
I have an app in the App Store for a local festival that had many events at different venues. Given that the audience was from all over the world, and thus unknown in town, the app showed a map for each event. I solved this using an MKMapView inside a custom UITableViewCell and using an accessory disclosure button that would push a detailed map view onto the navigation controller. It worked well, but was a little slow. I would not recommend it for many such cells.
Screen shot:

iOS UITableView Facebook App Style

I've attached a screenshot of a view from the facebook app. I want to recreate the UI of the left column which looks and behaves like a UITableView.
Is this UITableViewStyleGrouped or UITableViewStylePlain. If its grouped, how have they reduced the white space between the section data and the next section header.
How have they expanded the UITableView cell to fit across the entire width of the tableview.
Or is this html using webviews and just behaves like a UITabelView?
Facebook has an open source library that they have used to develop their iOS app:
http://three20.info/
I believe you may find something here eventually that would allow you to do what Facebook app does.
Facebook uses the Three20 library for their iOS applications. ref
You can find it here: http://three20.info/
I don't know exactly what kind of table the one that you have in the picture is, but I'm pretty sure it's one of them: http://api.three20.info/annotated.php

Resources