I want to implement a Newsstand App and I have seen that almost Newsstand App have the same background for the Library, the first screen of the app, same xib, but with their own covers for their magazine. It this xib available somewhere so that I could also use it?
Thanks!
No. You need to implement your own view controller.
Related
I want to displaying my own ads in my applications. Acutally the ads banner are static images which are loaded after some delay. Is iad network should be enable for that the app which display these iads. Because i does not want to load iads from the apple.
No. iAd is only for displaying ads from the Apple iAd network using an ADBannerView in your app. If you are just presenting the user a banner image that you have created then no matter what it does you don't need to touch or worry about anything to do with iAd.
From Apple's Documentation:
The ADBannerView class provides a self-contained view. Your
application should not subclass ADBannerView, nor should your
application attempt to change the behavior of the banner view. For
example, your application should never add subviews to a banner view.
If you are using an ADBannerview for anything other than displaying iAds from Apple you're doing it wrong. It seems like you want to display your own ads which are static images. The correct class to use for this is UIImageView. If you display your own images using an ADBannerView you will get rejected from the App Store.
I have an iPhone application available in appstore.
Now i would like to develop Universal version of the same app.
The iPad version of the current application will be the same. Just screens will be adapted for iPad size. The behaviour won't be changed due to device type.
My question is below:
In iPhone version, there is a page which displays hotel list.
The controller class is:
HotelListViewController.m
HotelListViewController.h
the xib is: HotelListViewController.xib
Now which is best practice for making same page of iPad:
Option 1:
Just creating HotelListViewControlleriPad.xib
and using same HotelListViewController.m and .h
Option 2:
Creating HotelListViewControlleriPad.xib
creating HotelListViewControlleriPad.m and h
thanks.
You need to go by option 1, as only view differs so you need to have different xib for iPhone and iPad.
If in your controller, there is certain view related stuff then you can handle that stuff conditionally.
You can check this thread also for some interested related discussion - How to develop an universal app for iPhone + iPad without xib files?
Either go for option 1 or use the same xib and view controller class as in iPhone but make the view controller a child view controller of the full screen view controller on iPad (for example using split view controller or a custom container view controller).
I could not find any Navigation Based Application template in Xcode. As of now, I am just pushing the viewControllers to the stack and then building the application. I wanted to know how can we create a navigation based application where we can set a RootViewController and add the viewControllers onto it.., So that it would be easy to add the NavigationItems to the navigation bar in every view. Thanks
Here is a tutorial for it: Tutorial
How to add this tempelate: add template
Apple suggest to use split-View based application on iPad, Read below for the iOS project types.
Creating an iOS Application Project
Read the blog post
All about iPad: Resolution, UI Elements, Gestures, UX Guidelines
I'm trying to integrate iAds to iPhone app. It makes me very confusing.
my app got many view controllers with uitableviews.
Should I integrate iAds at every view controller or
should I add it in mainwindow.xib (i add iAds codes to AppDelegate.h .m) or
should I create iAdsViewcontroller.h .m & .xib?
if I add iAds to mianwindow.xib, how do i handle delegates like bannerViewDidLoadAd (need to resize uitableview according to bannerview is visibie or not).
If i integrate at every view controller, banner would be switching along with the app views. I read somewhere if the app doesn't show an Ad for at least 30 seconds, it will lose ecpm.
Any thoughts will be appreciated... =)
Apple iAd Documentation Best Practices
Is there some library that provides a UIView/UIViewController similar to the iPad popover on the iPhone? I'm just talking about a temporary view that appears on top of the current view, and does the nice transitions that a UIPopoverView does on an iPad.
Just to complete the question. A iPhone popover implementation is hosted on GitHub: WEPopover
You can try this on also.
Click here to download FPPopover