Ipad tab bar/multi views app

i want to develop an ipad app with a main screen contains a tab bar control in the bottom, this tab contains 5 sections each one open a new view
sections are (home,P1,P2,V1,V2,info)
home -> return to the main screen
P1->open a pdf file with (back-next) feature
p2->open images slide-show with (back-next) feature
V1->open a video from youtube
V2->open a video from resources folder(saved with the app)
how can i implement these features ?
which type of app should i use? (window based OR view based)?why?
should i add a new view controller for each button in the tab bar?
how can i open a pdf file?any sample code available ?
( i found a pdf sample code but it opens just one page)
any slide show sample code ?
how can i call a view controller based on the user selection?
i highly appreciate any help

I had trouble getting an iAd to work when using IB as well. I ended up adding it programmatically like this:
self.adView = [[ADBannerView alloc] initWithFrame:CGRectMake(0,412,320,50)];
adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
adView.delegate = self;
[self.view addSubview:adView];
in the - (void)viewDidLoad of my view controller.
Hope that helps.
-Phil

Similar Messages

  • Product ID for second issue of multi viewer app

    hi,
    I've in this forum already found very usefull info about publishing the second issue of a free multi viewer app but still can't figure out if we have to use the same Product ID  for each issue, or do we need to create a different Product ID for each issue ?
    I've put two examples below, suppose one of them has to right. Or not ??
    Is this the way to handle multiple issues (option 1):
    product ID issue 1 = Product ID issue 2 = com.magnusmedia.magname
    Or is this the right way (option 2):
    product ID issue 1 = com.magnusmedia.magname.01
    product ID issue 2 = com.magnusmedia.magname.02
    thanx in adavance
    Herman
    Allright, was in a hurry and tested it out myself.
    Option 2 is working for me, hope it's right to handle it that way.
    With option 1 the app crashes (dark gray screen, no folio opens, library- en scrolling buttons are available but)

    Short answer: Yes, use a different Product ID for each folio (or for each set of folio renditions).
    Longer answer: It's confusing that there are three different types of Apple Product IDs:
    (1) the app Product ID, which you can ignore
    (2) subscription duration Product IDs for a paid app or a single Product ID for a free subscription app
    (3) a Product ID for each retail folio
    When you're setting up a free subscription app, you don't need to use iTunes to create a Product ID for individual folios, because your folios are free. You just need to set up a free subscription Product ID in iTunes Connect and specify that Product ID in the DPS App Builder. On the Adobe side, you use a different Product ID for different folios you publish, such as com.publisher.publication.2012October and com.publisher.publication.2012November.  If you're creating renditions, you use the same Product ID for the different renditions and different Product IDs for different sets of renditions.

  • Opening a page of a Folio in a Multi-viewer app is possible by URL Scheme

    I set URL Scheme on Multi-App by Viewer Builder.
    It launches well by tapping the URL Scheme button on Web page.
    Is it possible to open a page of a folio in a Multi-viewer app is possible by URL Scheme?
    Shimoawazu

    if you can find your app's actual URLscheme in the info.plist file inside the viewer, you can deep link into your articles (you also need the internal names of your folio and the articles), I find out here:
    http://forums.adobe.com/thread/1009059
    —Johannes

  • Adding an iAd Banner above a Tab Bar in existing app

    I am trying to add the iAd Banner above the Tab Bar in an existing app.
    The tab bar has 4 Buttons/Views (HomeView.xib, FirstView.xib, SecondView.xib, ThirdView.xib).
    In Interface Builder, I have tried to drag the iAd banner into the MainWindow.xib above the Tab Bar with no luck.
    I'd appreciate an explanation on what I am missing.
    Thanks for your time.
    Steve

    I had trouble getting an iAd to work when using IB as well. I ended up adding it programmatically like this:
    self.adView = [[ADBannerView alloc] initWithFrame:CGRectMake(0,412,320,50)];
    adView.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
    adView.delegate = self;
    [self.view addSubview:adView];
    in the - (void)viewDidLoad of my view controller.
    Hope that helps.
    -Phil

  • 1st generation vs. 3rd generation Ipad and Cable TV Viewing app.

    I recently had the opportunity to borrow a 3rd generation ipad from work.  I brought it home and loaded the optimum online app. from my cable company that allows you to watch cable anywhere you are within range of your home WIFI supplied by them.
    I was really surprised when I was able to take the ipad out back to the furthest most point of our property, where a summer screen house is set up,
    and although the signal from my Netgear WNR834B v2 router was hovering around 1 or 2 signal strength on the iPad3, the quality of the TV signal being streamed did not waver at all.  The picture was absolutely pristine (after a few seconds) and there were absolutely no drop outs of the streaming video.  Again, THIS with absolute minimum signal strength.
    I had to return the device to work, but picked up a used 1st generation iPad on ebay, and loaded the same optimum online app. onto it.  On the 1st generation device, the signal was both visually fuzzier (at that furthest point in the backyard) and had freezes and breaks in the streaming video at that same furthest point outside at the edge of the property.  It works great inside near the router or in most points in the house and is pristine.
    My first question...did they updgrade some technology between the 1st and 3rd generation iPads that would account for the difference in the way the weak signal drops out on the 1st generartion device, but did not on the 3rd generation ipad?  Or could that be the app itself somehow making use of the upgraded technology between the two generation of devices?
    My second question....I'm trying to figure out how to boost and extend the WIFI signal to that furthest point in the backyard, which is several hundred feet away from the house.  An Airport Extreme doesn't seem to provide that distance level of extention, unless I bought two, but that would require one of them being outside to cover the distance I'm trying to get to.  I'm contemplating purchasing an Amped Wireless Repeater and range Extender that advertises 10,000 square feet extention, but the reviews on the device are mixed.
    Any input would be appreciated.

    The major difference between the two versions is that Generation 2 and higher products allow simultaneous dual band wireless operation.
    Your Time Capsule will produce either a 5 GHz or 2.4 GHz network, but not both simultaneously. Since you have iPhones connecting to the network, you are using the 2.4 GHz band.
    Most of your newer devices are capable of connecting at the much faster 5 GHz speeds, but if you set your current Time Capsule up to operate at 5 GHz, the iPhones and iPod will not be able to connect.
    A newer version Time Capsule produces both a 2.4 GHz and 5 GHz signal simultaneously, so faster devices would connect to the 5 GHz band and slower devices connect to the 2.4 GHz band.
    That being said, there is also something to be said for leaving well enough alone. Your call.

  • Tab bar application and UIScrollView

    Hi Everyone,
    I am creating a tabbar application.
    I have 5 tabs already setup, and now one of the tabs needs a few more fields appended to the bottom of the view.
    I am using a single NIB file with all the views built inside of it.
    What I need to do is take the second tab and add a UIScrollView to it, so I can add the additional fields to the bottom.
    I would like to stick with using IB....
    Here is the stack I have setup, please advise where I would insert the UIScrollView
    App
    First Responder
    App Delegation
    Window
    Tab Bar Controller
    Tab Bar
    Main View Controller (Log)
    Selected Main View Controller (Permit)
    Scroll View
    View
    Tab Bar Item (Permit)
    Main View Controller (Tags)
    Main View Controller (Release)
    Main View Controller (Other)
    I have placed the ScrollView both within the View, and, as shown, a view as a child of the scroll view...
    I have set the height of the view and the scroll view at 800px
    Please advise on what I am missing in this.
    Thanks
    tony

    alt-088 wrote:
    I have all the views loaded within the same XIB file.
    It's usually better to make a separate xib for each view. The most important reason for this is memory management. Firstly, all the views defined in MainWindow.xib are loaded at startup. This means a view will be loaded even if its tab is never selected. Views defined in a separate xib won't be loaded unless and until they're needed.
    It's also much easier to unload a view if its defined in a separate xib, since the view, along with all its subviews, can be reloaded at any time by simply reloading the xib (e.g. by initing a new controller with [initWithNibName:bundle:|http://developer.apple.com/iphone/library/documentatio n/UIKit/Reference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/initWithNibName:bundle:]). This is especially important when the controller receives a low memory warning. For example, the default implementation of [didReceiveMemoryWarning|http://developer.apple.com/iphone/library/documentatio n/UIKit/Reference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/didReceiveMemoryWarning] will unload a view defined in a separate xib because the method knows how to reload that view.
    Another reason for separate xibs is that the main xib needs to be loaded before the app can launch. Anytime you remove an object from MainWindow.xib, you'll reduce launch time.
    should i have a view for each of the tabs in the main form?
    You probably already have a view for each of the tabs, so I assume you meant to ask, "Should i have a separate xib file for each controller which is connected to the tab bar controller in MainWindow.xib?"
    If I restated the question correctly, the answer is yes, as explained above.
    Note the Tab Bar App template demonstrates both ways to define each controller's view. The first view controller's view is defined in MainWindow.xib. The second controller's view is defined in SecondView.xib. The difference between these setups can be seen in the Attributes Inspector. If you select the First View Controller (most easily done in the xib (icon) window if the View Mode switch is in the Center position to display the view hierarchy) and open the Attributes Inspector, you'll see the NIB Name selection is blank. If you then select the Second View Controller, the NIB Name selection will be "SecondView".
    You could move the First View Controller's view to a separate xib by making a new xib named "FirstView.xib" (File->New File..->iPhone OS->User Interface->View XIB), deleting the View object under the First View Controller in MainWindow.xib, and then setting the NIB Name selection in the Attributes Inspector to "FirstView". After that, open FirstView.xib, select File's Owner and set its Class to FirstViewController in the Identity Inspector, then connect the View object to the 'view' outlet of File's Owner.
    You can make a separate xib for any of your views in the same way. Of course in the case of a scrolling view, you would add a UIScrollView object and connect it to the 'view' outlet of File's Owner, then connect the UIView object to the 'contentView' outlet of File's Owner as discussed previously (after setting the Class of File's Owner to a custom class that has a contentView IBOutlet).
    Whenever you make a separate xib for one of your views, _make sure File's Owner is set to the same class as its parent controller object in MainWindow.xib_.
    \- Ray

  • Updating viewer app to include entitlement

    We currently have a multi issue app working nicely in the app store.  The learning curve being we were prepared to give away some content while we fine tune the how we work and how DPS works.  We have a large subscription base and are in the motions of incorporating an entitlement call to allow current subscribers free access leaving the old freebie isses available for free.   I am in the viewer builder and am trying to update our app for new tool sets, bookmarks etc with the main aim to incorporate access and entitlement.
    The problem is when I try and start a new update to the current version I assume I should be changing the viewer type from the current "multi-issue" to "multi-issue with entitlement and access and entitlement" but this option is greyed out unless I start a brand new build.
    This is not something want to do as we have shared the iTunes URL and the current issues (about 12) will need to be re-uploaded again.  (of which I dont have all the files)
      SO......how do I update my current multi viewer app. to one that includes entitlement?

    You can't use Edit to change the viewer type. You need to use New and create a new viewer (then delete the old instance to keep things tidy). When you do this, you don't create a different app. If you use the same credentials when you build the viewer, it will act as an update to the existing app.

  • How can i change text on default tab (ex:more viewed item) controller item?

    Hi!
    I want to use the default control item on tab bar. most viewed but it's ok for the image but i want to change the text to get "Platforms" instead of "Most viewed"

    Yes, you can change default fonts here:
    orange Firefox button ''or'' Tools menu > Options > Content tab
    The center drop-down lets you set the default font and size. The Advanced button lets you set the default for particular font styles. "Serif", "Times New Roman", "Arial" and "Courier New" are good choices for Windows users.
    Does that work? If a particular site is a problem, you could post the URL for others to check out.

  • Problems on viewing OEM with video on the Adobe viewer APP on ipad air 8.1 with EDGE ANIMATE CC 2014.1

    hi everyone
    i had this problems and i don't know if is for my fault or is something related to a bug
    i made an animation with a video ( i try it before just with an mp4, but later i add also the OGV in the same Group ) and one object , if you click on the object you launch a website link on a different windows and the video and the stage are in PAUSE, if you click again the video the video START.
    it's very simple and on the web preview ( and on the export for WEB package )  all works properly, but if i want to view by the Adobe content viewer APP on my connected ipad ( via indesign ) i'm not able to see the video i just see the poster image and the object ( with the working link, that launch a new tab in the APP),  but NOT the video in background!
    INDESIGN procedure
    In indesign i add the OEM on my page and launch via the folio overlay the preview on my connected ipad
    is not the first time i work with animation on DPS APP, and everytime all works good
    after quite a whole day on try different solutions but with the same result i hope in this forum to find help on solve this problem, from more experienced people than i
    thanks in advance
    cristiano

    UPDATE
    i have ulpaded 2 animation ( one normal and one Responsive ) in 2 different server here the link
    www.eclipseadv.com/maliRP/maliRP.html
    Untitled
    via SAFARI or CHROME on MAC all OK
    but via IPAD ( SAFARI, CHROME and MERCURY) i didn't see the video, just the animation of the BUTTON  and the link if i click on it (not in Mercury), like in the content viewer.

  • Why does the tab bar on my iPad 2 disappear when I swipe down? How can I lock it in place?

    Why does the tab bar on my iPad 2 using IO8 disappear when I swip down? Its annoying. I have to tap the top of the screen to view my open tabs.
    why did Apple switch the position of the bookmarks icon and the favorites icon. Now I tap the wrong one.

    There isn't a setting to stop the tab bar automatically hiding (or I haven't found one), and as to why the icons were moved I don't think that Apple have said. If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html

  • RSS Table View with Tab Bar Code Error

    I created an iphone app with a navigation controller that has a table view which displays an rss feed. My client wants it able to display multiple rss feeds through a tab bar. I have attempted several times and have messed up. If anyone could help me with this it would be greatly appreciated.

    Hi Guy, and welcome to the Dev Forum!
    I would recommend starting as follows:
    1) Start a new project with the Tab Bar Application template;
    2) Open MainWindow.xib and select Window->Document from the IB menu to make sure the xib window (the icon winow) is visible;
    3) Locate the "View Mode" switch in the upper-left corner of the xib window and make sure it's in the Center position to display a 2-column table showing the view hierarchy as a tree of small icons to the left;
    4) Expand the Tab Bar Controller branch, then delete (select and Edit->Delete) each of the two view controllers under the Tab Bar Controller. The only child of that controller should now be the Tab Bar;
    5) Open the Library window (Tools->Library), drag a Navigation Controller into the xib window and drop it when it's on top of the Tab Bar Controller icon;
    6) Repeat step 5 until you have as many nav controllers (one for each RSS feed) as you want (for this example, assume 4 RSS feeds);
    7) The Tab Bar Controller should now have 5 children: the Tab Bar plus the 4 nav controllers; if not, drag the nav controllers until each of their icons is shown indented under the Tab Bar Controller just as the Tab Bar is;
    8) Expand the first Navigation Controller branch, and expand it's Root View Controller; you should now see that root controller's Navigation Item;
    9) Select the nav item, open the Attributes Inspector (Cmd-1), and change the Title to "RSS 1 Root";
    10) Repeat 8-9 for the remaining 3 nav controller branches, so the root views will be labeled "RSS 2 Root", ... "RSS 4 Root" respectively;
    11) Save the xib, return to Xcode, and click "Build and Go". The project should build and run without any warnings or errors. If not, return to step 1 and try to see where things went wrong.
    Let us know if you need more help after you get the above skeleton app working. The next step will be to change the class of the "RSS 1 Root" controller to the class of the first table controller in your original project, and to add that controller's xib (you can delete FirstViewController.h/.m and SecondView.xib by selecting each in the Groups & Files tree of the Xcode project window and selecting Edit->Delete).
    Please avoid the temptation to merge the above steps into your original project. In my experience, moving each of your files into the new skeleton, and testing at each buildable stage will reduce the chances for error while making it easier to spot any incompatibilities in your old code. The process shouldn't involve touching any of your XML parse or table display code, but you may need to override some additional table view controller methods such as viewWillAppear:
    Btw, in case this hasn't been discussed yet, be aware you'll face a major decision soon: When tabbing to feed no. 2, what happens on the return to feed no. 1? If the user will return to the same detail view that was last displayed, you might need lots more memory and there will be lots more to go wrong. If the user will return to the home menu, the whole project will be much simpler. Estimate your effort accordingly.
    Also be prepared for your client to say something like this during beta: "Oh... one or two of the links in feed no. 3 might be a mp3 or mp4 next month. That won't be a problem, will it?".
    Hope that helps!
    \- Ray

  • Tab bar based app, with 4 tabs each linking to a different navigation menu

    Hi,
    Im new to coding and I was wondering if anyone could help me out with a problem im having. Im trying ot get 4 tabs accross the bottom in a tabbar with each one linking to a navigation page. Im trying to get 5 topics on each navigation page which go into more detail to another page when clicked. so 4 tabs x 5 topics x 5 more detailed topics. I have tried the O'Rilley tutorial and could make a tabbar with 2 tabs. but I cant do 4, can anyone help?
    Thank you all in advance.

    Hi Sunny, and welcome to the Dev Forum!
    If you're using [Elisabeth Robson's tutorial|http://broadcast.oreilly.com/2009/06/tab-bars-and-navigation-bars-t.ht ml], it looks like a nice job (for a different tutorial, please let us know if we can find it online). I generally start with the Tab Bar Application template, since it does almost all the work of setting up the skeleton. But you'll certainly learn more starting with the minimal, Window-based App template, which is the purpose of a tutorial.
    The easiest way to add a new tab is to find the required controller type in the Library and drag it into the tab bar. I think you want a UINavigationController there, so choose that one from the Controllers section of the Library. You can drag the nav controller icon into either window (i.e. the Tab Bar Controller editor window or the xib window). When dragging into the xib window, you can choose the new controller's position by where you drop it in the small icon tree. (Btw, I might have missed this in the tutorial, but make sure the xib window is displaying two columns with a small icon tree to the left. This is done by setting the View Mode switch to the center position). You can also add tabs by opening the Attributes Inspector when the tab bar controller is selected and clicking "+" under the View Controllers table.
    Once you have your additional nav controllers added, build onto each one the same way you did with tab 2. If that's the only place you were stuck, you should be on your way in a few minutes.
    \- Ray

  • Content Viewer crashes, will my multi-folio app crash as well?

    I am in the process of creating back-issues before our multi-folio app goes live in a couple weeks (my first foray into Adobe DPS). Some articles in my folios are very large in size because of large PNG object state slideshows (about 25 MBs for each article). These articles are now causing Adobe Content Viewer (ACV) to crash, ever since the app was updated to accommodate the v26 versions. I have tried creating identical folios with both v25 and v26 tools, and they both crash when reading the large articles.
    ACV did not crash when reading the exact same folios/articles before the app updated to accommodate the v26 tools. I'm testing on an iPad 1. I will be able to test on an iPad 2 and iPad 3 in a few days. The same type of folios/articles do not cause ACV to crash on android before or after update.
    My question is... does ACV crashing mean my real multi-folio app is guaranteed to crash when it goes live in a few weeks? Or is this a bug in ACV that will not exist in my real multi-folio app?
    Thanks.

    ACV and the custom viewer are the same. If you are seeing problems with ACV you will have the same problems with your custom app. This isn't a bug in the app, it's the app running out of memory because of the complexity of your pages. iPads aren't as powerful as desktops. If you are designing articles with full-page PNG slideshows with multiple states you will wind up with low memory problems. You should rethink your page design to simplify the number of large assets you have.
    Neil

  • Does navigation/tab bar support multi-color icons? or only monochrome icons?

    Hi,
    I am building an app where, when i set the navigation/tab bar icon to a multi-colored image, it gives a blue tile and not the image. Is monochrome image a necessity for the icons of navigation/tab bar?

    No.  You can have colour images with no problems.  I'm guessing that there's something wrong with your image format.
    You will get better responses to your question if you post in the programmer fora on developer.apple.com rather than the user fora here.

  • Trouble adding new view to tab bar

    Hello All,
    I am trying to build a first Tab Bar Application through Interface Builder. I created a stock Tab Bar application using XCode but I am having trouble replacing the views with different ones (mine).
    For example, I have created a new view called PostView from XCode with just a simple label. I then went to Interface Builder, clicked on the second tab, and go to Tools->Attribute Inspector and change the NIB name from SecondView to my new PostView.
    However, when I run this, it crashes when I click on the the second tab with the following error in GDB:
    2008-06-30 23:22:26.623 TG2[5855:20b] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController loadView] loaded the "PostView" nib but no view was set.'
    I can't for the life of me figure out where I should be loading or setting this view as SecondView doesn't seem to be programmatically loaded anywhere and I can't seem to find any other reference to it in IB.
    I'm sure this is noob easy -- any ideas?
    Many thanks in advance,
    Tim

    First of all, click on File's Owner in the PostView.xib window. In the inspector window (it's on the right by default--if you don't see it, press Cmd-Shift-I), click the "i" button to display the Identity pane. There should be a drop down box labeled "Class". Is the class set to your controller class? If not, adjust it so it is.
    Next, click the blue circle with the white arrow. This will bring up the Connections pane. Look at the line that says "view". Is it connected to anything? (If it is, the name of the object it's connected to will appear next to it, with an "x" to undo the connection.)
    If not, hold down the circle to the far right of "view", then drag to the "View" icon in the PostView.xib window. (I'm assuming you haven't renamed the view.) A box should appear around the icon if it's the right type for that outlet. Now let go, and Interface Builder will establish the connection.
    Save, then go back to Xcode and build and run your project. Did that fix the problem?

Maybe you are looking for

  • Want to have F4 help from an internal table in Module Pool.

    Hi, I have a input/output field in a Module pool program. I want to attach an F4 help on this from an internal table. Please suggest me some techniques. Thanks in advance..

  • Servlet in WebLogic Server 6.0

              I am trying to run a servlet from WebLogic Server 6.0           Copied servlet class file into the following directory:           config/mydomain/applications/           DefaultWebApp_myserver/           WEB-INF/classes           Modified t

  • Coherence-cache-config.xml not visible from EAR

    hello all. I've met following issues. The coherence does not see my custom cache-config.xml and thereby uses the default from coherence.jar. Environment: 1. WLS 10.3, Coherence 3.7, jvm 1.6 2. the active-cache is deployed as shared library 3. the ded

  • Is there any way to upgrade my mid-2007 imac to more than 4GB RAM?

    From what i've read it sounds like 4GB RAM is the most that my iMac is capable of using, but i' m hoping that isn't true. even though it operates plenty fast for my current needs, it would always be nice to have the option. any info will be appreciat

  • Roundtrip timeout in remote invocations

    Does anybody know how to specify or implement CORBA like roundtrip timeouts for RMI calls ? Our application has strict reqirements to detect network interrupts quickly ( < 3 seconds ) under all circumstances, not just when reading the result from a s