Handling multiple Webview in iPhone

i am not able to display multiple webviews in a window. can anyone have a answer for this. my code has
method
created 3 webviews and added to a view
(void)webViewDidFinishLoad:(UIWebView *)webView
[self addSubView:webView] ;
which displays first webview only.

Search the forum for answers before posting. This question was just addressed in this thread:
http://discussions.apple.com/thread.jspa?messageID=8165783&tstart=0#8165783

Similar Messages

  • Trouble handling multiple calls

    Can anyone explain to me why the iphone, after being in production since 2007, still cannot handle multiple calls properly? I am on one call, I take another call (and select put current on hold) and when I am done with the second call, I am locked into HOLD on the original. This is simply the latest in the most aggravating aspect of this phone. It is a phone FIRST and doesn't do multiple call handling well at all! It hasn't for the years I've been using iphones.
    Am I alone in this frustration?

    I have no problems taking the waiting call off hold.
    Reboot.
    Restore.
    Restore as new.
    Test after each step until it works.
    Something is wrong.
    It could be a carrier problem. What carrier are you using?

  • My husband and I have separate iTunes accounts and multiple devices (iPads, iPhones, iPods etc) how do we share our music and apps between our devices if we have different iTunes accounts.

    Help! My husband and I have multiple devices (iPad, iPhone, iPod ) that we we have linked to individual iTunes accounts ie he has his account with iPad, iPhone, PC and iPod linked/sync and I have my account with iPhone, iPad, iPad mini, PC etc.. How do we share our music and apps across/between our accounts?

    It probably means that only one of you can use iCloud or at least sync calender/contacts with it. I would guess that you could manually manage the other phone as you have before.

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • I have multiple computers and iPhones and now iTunes will not allow my wife to load applications or use her own iTunes playlists.  How can I setup each device for each user correctly?

    We have multiple computers and iPhone devices which I have passed on to other family members, such as my wife.  Now she is not able to load apps to her devices, eventhough it appear she is logged into her own iTunes account.  How can I setup iTunes correctly on each device?  Currently, there is one PC and one Mac laptop and we each have iPhones, with one other family member not able to use his 'passed-down' device for iTunes, also.

    Hello dal1820
    Check out the article below on how to use multiple devices with one computer. The main idea that I want to point out is to have different users for each person as it is the easy way to make sure that no issue happen when syncing.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    Regards,
    -Norm G.

  • Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    You can each have your own ID for your own iTunes accounts, but in order for a device to stream via AirPlay to the same Apple TV, everything must use the same homesharing ID. This is not the same as your iTunes account ID (although it can be for one of the devices)

  • How to delete multiple contacts in iphone 5s

    Is there an easy way to delet multiple contacts on iphone 5s annd 5c. I can delete them one at a time, but wondered if theres a way to do some of them but not all.

    No, there's no mass delete or partial mass delete option.
    If these are iCloud based contacts, you may find it easier to go to www.icloud.com and delete them there.

  • How to delete multiple contacts in iphone 5

    how to delete multiple contacts in iphone 5

    This is a good little app to check for duplicates and delete multiple contacts all at the same time: https://itunes.apple.com/gb/app/delete-duplicates-+-contacts/id508504148?mt=8

  • How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?

    How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?

    Sorry I had to reply through your profile Gail from Maine, my PC has java issues. In any event, when I delete them directly from my device everything is perfect and cool. However, in the rare instance I want to add new music that I actually buy in stores (I know, quite the unique and old-fashioned idea...but hey Im an audiophile) once I upload the tunes, everytime I sync my library it re-adds everything that I spent hours deleting. In a perfect world, I thought I could maintain a massive iTunes Library, and add or delete (remove) songs from my iPhone to save both memory or keep my iPhone selections more current/apt to my musical "tastes" at that time. I know about the whole playlist thing, but thought there might be an easier way. ie - checking/un-checking the little box next to the song name, and then doing a sync. Again, everytime I do this however, whether everything is checked or un-checked it adds the entire library! So frustrating. Any suggestions. Thank you graiously in advance for your help.

  • Calendar app that handles multiple Google calendars?

    Can anyone recommend a calendar app that handles multiple Google calendars in a single account, including one of what  Google's desktop web site shows as  "My calendar" calendar plus one "Other calendar" calendar?
    Thanks.

    Calendar can have two or more calendars calendars listed at the same time.
    Each can be a different color for identifidation.
    The first screenshot shows that the Medical and Joint calendars are shared calendars.
    Will that work for you?

  • TS1368 My child has put in the wrong password on my phone multiple times, my iPhone now says "iPhone is disabled connect to iTunes", But when I try to connect to iTunes on my laptop it says unable to connect due to a password is on the phone? What do I do

    My child has put in the wrong password on my phone multiple times, my iPhone now say "iPhone has been disabled connect to iTunes" When I hook my phone up to iTunes, iTunes then says that my iPhone can not be hooked up to iTunes because it has a password on it, but will not allow me to put in a password because the disabled message is still showing. What is the next step?

    You may need to put the iPhone into recovery mode : http://support.apple.com/kb/ht1808 - you should then be able to reset the phone and restore/resync your content to it.

  • How to handle multiple clients with DatagramSocket

    I am trying to handle multiple clients with 1 datagramSocket bind to one port (basically I have only one port to use, and I can not use TCP or any other ports). At the server side I have two threads one for receiving packets and buffering them, another for processing the packets in the buffer and sending replies.
    I can have multiple clients sending datagramPackets to me and I will have to process the packets and send them to DIFFERENT clients. Ex. Client 1 sends datagramPacket to Server which sends the processed packet to Client 2. Also Client 2 sends a datagramPacket to Server which again processes the packet and sends it to Client1. May have Client 3 and 4 doing the same thing at the same time... and so on...
    My root class is creating the datagramSocket(somePort) and two threads (receiver and sender). How can I use the socket that I created in these two threads??
    I have done the following and I am getting "java.net.bindexception". When I am sending stuff from Client1 to Client2 everything is fine but when I start sending something from Client2 to Client 1, I get the bindexception... Client 1 is using port 3000, Client 2 is using port 4000.
    I really don't have a lot of experience in socket programming so I am not sure if there is a much simpler way to do this. I appreciate all the tips and help that I can get...
    Thanks...
    class UDP_serv
         static DatagramSocket udpSocket;
         final static int SERVER_PORT     = 2000;
         public static void main(String[] args) throws SocketException
              udpSocket= new DatagramSocket(SERVER_PORT);
              new DataReceiver().start ();
              new DataSender().start ();
         static class DataReceiver extends Thread
              DataReceiver()
                   Thread.currentThread().setName("DataReceiver");
              public void run()
                   while (true)
                        byte pckt[] = new byte [MaxMsgSize];          
                        DatagramPacket dp = new DatagramPacket (pckt, pckt.length);
                        try
                             udpSocket.receive (dp);
                             //PUSH TO RECEIVE BUFFER
                        catch(Exception e)
                             e.printStackTrace();
         static class DataSender extends Thread
              DataSender()
                   Thread.currentThread().setName("DataSender");
              public void run()
                   while (true)
                        processDataMsg();
          static void processDataMsg() 
             DatagramPacket op;
             InetAddress DA = null;
             int DP = 0;
             byte [] outPacket = null;
             // POP FROM RECEIVE BUFFER
             // SOME PROCESSING HERE     
             // Set Destination Address (DA)
             // Set Destination Port (DP)
             // DA and DP are the forwarding IP and Port addresses
             // not the addresses original packet was sent from.
             try
              op = new DatagramPacket (outPacket, outPacket.length,DA, DP);
              udpSocket.send(op);
             catch (IOException e)
              e.printStackTrace();
    }Also for development and testing purposes, I am running the two clients and the server on the same machine (windows xp-32b) so all of the Destination IP Addresses are 127.0.0.1. and as I said Ports that I am using are 2000, 3000, 4000 (Server, Client1, Client2).

    Hmm I have minimized the code and it seems to be working now.
    I think I have an error in the header portion of the data I am sending, where I am storing the source IP/Port and destination IP/Port. I think the server in the middle is messing these values up while sending them to the destination Client. Because the destination client actually receives the stuff and sends the reply back to the server, but the reply packet's headers has 0/0 as the dest IP / Port...
    Server is giving me java.net.BindException: Cannot assign requested address error when it tries to forward the reply it received from the client2 as the address it is trying to send is 0!
    I guess it doesnt just give this error when you try to open two sockets to the same port...
    Paul, Thanks for the direction on how to proceed... took me a while get the minimized code but at least figured out the problem. Well still have to make sure that is THE problem though :)
    As far as the statics goes how can I change those to non static ones? Where do I make an instance of the top level class that creates the threads? and how do I pass the DatagramSocket to the threads/ if I dont need to pass how do I call or use the datagramSocket I created in the top level class? I mean do I still kinda have it like a global variable on the top?? A very simple example would be much appreciated...
    I think these might be really basic questions but I am having a rough time with the hierarchy in java...

  • How to handle multiple exception types in JSF 2?

    I'm trying to handle multiple exception types in JSF2, including a default error page for any unexpected exception types. The problems I'm having are:
    1) ViewExpiredException is handled only when no generic exception handler is specified
    2) "Regular" exceptions like NullPointerException are never handled
    My managed bean:
    @Named
    @SessionScoped
    public class MyController implements Serializable {
    /* A method that does nothing */
    public void doNothing() {
        //do nothing
    /* Generate a null pointer exception on purpose */
    public void generateNpe() throws NullPointerException {
        Object x = null;
        x.toString();
    My test page to generate the exception:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Test page</title>
    </h:head>
    <h:body>
        <h:form>
            <h:commandButton id="button1" value="do nothing" action="#{myController.doNothing}" />
            <h:commandButton id="button2" value="generate NPE" action="#{myController.generateNpe}" />
        </h:form>
    </h:body>
    </html>
    My web.xml:
    <!-- Redirect all NPEs to this page; this never works! -->
    <error-page>
        <exception-type>java.lang.NullPointerException</exception-type>
        <location>/error/error003.jsf</location>
    </error-page>
    <!-- Redirect all VEEs to this page; this works fine if the next section is excluded -->
    <error-page>
        <exception-type>javax.faces.application.ViewExpiredException</exception-type>
        <location>/error/error002.jsf</location>
    </error-page>
    <!-- This grabs everything, even with the previous sections defined.  If I exclude this error-page section, VEE works fine but NPE still does not get redirected -->
    <error-page>
        <exception-type>java.lang.Exception</exception-type>
        <location>/error/error001.jsf</location>
    </error-page>My questions are as follows:
    1) How can we handle "regular" java exceptions like NPE?
    2) How can we define a catch-all for unexpected exception types, while still respecting specific exception handlers for VEE, etc?
    Thanks,
    Benjamin

    Is your data model right? If you are adding in one and deleting in another it sounds to me more like a process that an entity, in which case you may revisit your data model and simplify it, add in a session bean with the process method to co-ordinate between the two.
    However, if you want to map multiple different tables within a single entity bean it is possible and just part of the mapping. How you actualyl specify it depends on which implementation you are working with.
    Cheers,
    Peter.

  • How to handle multiple tables data in Entity Beans?

    How to handle multiple tables data in Entity Beans?
    i mean, my bean (non trivial) is responsible for frequent
    insertion in one table and some deletion on another table.
    Can anyone of you...please..?

    Is your data model right? If you are adding in one and deleting in another it sounds to me more like a process that an entity, in which case you may revisit your data model and simplify it, add in a session bean with the process method to co-ordinate between the two.
    However, if you want to map multiple different tables within a single entity bean it is possible and just part of the mapping. How you actualyl specify it depends on which implementation you are working with.
    Cheers,
    Peter.

  • How to handle multiple datasources in a web application?

    I have a J2EE Web application with Servlets and Java ServerPages. Beside this I have a in-house developed API for certain services built using Hibernate and Spring with POJO's and some EJB.
    There are 8 databases which will be used by the web application. I have heard that multiple datasources with Spring is hard to design around. Considering that I have no choice not to use Spring or Hibernate as the API's are using it.
    Anyone have a good design spesification for how to handle multiple datasources. The datasource(database) will be chosen by the user in the web application.

    Let me get this straight. You have a web application that uses spring framework and hibernate to access the database. You want the user to be able to select the database that he wants to access using spring and hibernate.
    Hopefully you are using the Spring Framework Hibernate DAO. I know you can have more that one spring application context. You can then trying to load a seperate spring application context for each database. Each application context would have it's own configuration files with the connection parameters for each datasource. You could still use JNDi entries in the web.xml for each datasource.
    Then you would need a service locater so that when a user selected a datasource he would get the application context for that datasource which he would use for the rest of his session.
    I think it is doable. It means a long load time. And you'll need to keep the application contexts as small as possible to conserve resources.

Maybe you are looking for

  • How do I turn off auto-correct on Macbook Pro?

    I just bought a new Macbook Pro and I want to be able to turn off the auto-correct. It does it in every program and sometimes it puts in the wrong word. It is terribly annoying. Thanks!

  • Do AI native files in Indesign cause large PDF exports?

    Hello all: I am a novice at InDesign as well as exporting to PDF, but I have a 45 page document I want to save for web viewing only.... it's my design portfolio.  There are a lot of AI graphics I have placed in this document (about 20 AI files) and w

  • Anyone else having problem with running app on iOS 5.0.1 iPod

    Ever since I installed the latest iOS on my iPod (third generation) I have issues. App, especially games are crashing  A LOT. I think either they are making it all compatible with iPhone 4 or iPad or something is really wrong. I cannot afford to pay

  • Negative stock  for storage location M7 021

    Hello I use negative stock for some materials When I want to post document in MIGO - 551 scrapping, I have error message M7 021: Deficit of BA Unrestricted-use 1.100 EA:   24000641 XXXX 9999 YYYYYYY This is ERROR. When I change storage location from

  • Limit Volume In OS X.

    Hello. My son uses a mini, he's only 4 years old and sometimes he thinks it's funny to turn the volume of his mini all the way up via the keyboard. His mother, brother and myself don't find it too ammusing. Is there a way to limit how loud the output