UIToolbar shifts when on call. Does not shift back after call.

I have a UIToolbar on my application. And if I'm on a call, the application is shifted down due to an extra line "Touch to return to call" just below the normal status bar. This shift down causes my app to be a little bit smaller. And my UIToolbar is shifted accordingly. But when I end the phone call, that extra bar goes away. But my UIToolbar isn't shifted back up.
I have my view controller's view.autoresizesSubviews = YES;
and
toolbar.autoresizingMask = UIViewAutoresizingFlexibleTopMargin;
And if I shift the height of the view's frame using this test code:
self.view.frame = CGRectMake(self.view.frame.origin.x, self.view.frame.origin.y, self.view.frame.size.width, self.view.frame.size.height-10);
Then the UIToolbar shifts exactly as I would want it to. But for some reason, when the phone hangs up, I'm not getting that shift.

Hi Atfi,
Would you mind sharing your config. May be we could help you in a better way. Thanks

Similar Messages

  • MBP does not come back after hybernation

    Hello everyone,
    I am enjoying my MBP except for one problem. It does not come back after it hybernates sometimes.
    I hit a key, hear the superdrive do it's "thing" and then after much waiting (approximately over 10 minutes) no picture or video on the screen!
    I can tell that it's still powered on because it's plugged in and when I hit the Caps Lock key it lights on and off.
    The only way that I can get it out of this state is to hold down the power button, unplug the power cord, take the battery out, hold in the power button for 4 seconds, reinsert the battery and power back on.
    I have to then cycle the power back off because the first time it does not come back but I just get the blank white boot screen and no 'apple'.
    When I turn it back on the second time, it boots up.
    Anyone else have a problem with this?
    Thanks for listening!
    Mark

    Hello Gweedo!
    Yeah I have the same issue and am up to date. Apparently this is a pretty huge problem with the Macbook Pro since the last Graphics update after updating to 10.5.2.
    http://discussions.apple.com/thread.jspa?threadID=1394449
    I have been perusing through that topic and hopefully they will come up with a fix for this.
    The only work-a-round that I have found (but haven't tested extensively yet) is to disconnect to the wireless, turn off blue tooth, disconnect my external monitor and then go into sleep mode. Then it always comes back. But if I leave it connected to the wireless, bluetooth, and external monitor - it's a crap shoot as to weather or not it will come back up.
    This is pretty frustrating because half of using a laptop is being able to hybernate and sleep properly.
    I even have the 'smartsleep' installed.
    Thanks for commenting everybody!
    Mark

  • Full Screen Does Not Come Back After Minimizing Firefox to the Taskbar.

    Full Screen Does Not Come Back After Minimizing Firefox to the Taskbar.
    I work in full screen almost exclusively ... the toolbar and the URL are still displayed while in full screen.
    Before this version (30.0), when I minimized Firefox to the taskbar so that I could go to the desktop or to Windows Explorer, when I finished what I was doing and re-selected Firefox it would go back to full screen. Now, it does not go back to full screen. I can still see the taskbar. I have to press [f11] two more times to get back to full screen.
    I have tried with and without addons enabled. Same behavior. I have reset Firefox ... same behavior.
    I'm using Firefox 30.0 and Windows 7 (64 bit).
    Thanks.

    Hi moose53,
    Just tested it with a Logitech keyboard and you are right, what you are describing is not expected behavior. I see you do not have any add ons, however does this also reproduce in Safe Mode? [[Troubleshoot Firefox issues using Safe Mode]]
    If yes, try a new profile [[Use the Profile Manager to create and remove Firefox profiles]]

  • My ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix

    my ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix, other than take it to apple.
    thanks!

    The wish list only works on apps you have to pay for. To get it tap the icon of the app you want to save. After it opens at the upper right corner is a box with a arrow. Tap that then tap add to wish list list in the box that opens.

  • My brand new iphone 4gs from Sprints, is turning off whenever it wants and does not come back after 2 or 3 hours???,

    My brand new iphone 4gs from Sprints, is turning off whenever it wants and does not come back after 2 or 3 hours???

    Return it for a warranty replacement.

  • Mercedes User interface does not revert back after a call

    I had my iPhone 4 paired to my Mercedes and was happily using the bluetooth connectivity for making and receiving calls .
    But lately when I make a call by dialing from my phone and then disconnecting the call using the car control, the car screen does not revert back to what it was and it remains in the phone mode.
    This does not happen when I pick up a call using the car control.
    Any idea as to why this might be happening .

    Uninstall then reinstall RNR.  RNR does not like to be cancelled via task manager.... this creates a mess.
    Reinstall may also fix your issue with productivity center.. 

  • HDMI does not come back after disconnect

    Hello Archers,
    this one is bugging me for a while now, perhaps someone has an idea.
    I have a headless ARCH home server that mainly has the following purposes:
    1. being a 24/7 file/backup/ssh server for family and friends
    2. being an MPD server connected to my music system
    The setup may seem a bit exotic. The computer is connected to the music system via HDMI over an S/PDIF audio extractor to the music system. This is because the machine replaced a RaspberryPi that really had crappy analog audio output and my music system has an optical input and can perform the digital to analog conversion itself. I have not installed Pulse just alsa and jack2-dbus.
    aplay -l shows the following:
    **** Liste der Hardware-Geräte (PLAYBACK) ****
    Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
    Sub-Geräte: 1/1
    Sub-Gerät #0: subdevice #0
    Karte 0: PCH [HDA Intel PCH], Gerät 3: HDMI 0 [HDMI 0]
    Sub-Geräte: 0/1
    Sub-Gerät #0: subdevice #0
    The Problem:
    Whenever I switch off the music system and later switch it back on, the HDMI-connection is lost and does not get reestablished. I tried various things but essentially only a reboot of the machine helps (which opposes purpose 1 of the machine). On the RaspberryPi I did not have that problem, probably due to the hdmi_force_hotplug=1 in /boot/config.txt.
    My Observations so far:
    The first problem that made the sound disappear was the screen blanker on the console after 10 minutes. This can be prevented with
    setterm --term linux --blank 0 >/dev/tty1 # You need write permission on /dev/tty1 for this to work!
    There are no appearant error or warning messages when using e.g. aplay or speaker-test, just no sound at all
    There are tipps in the forums/the internet sugesting to disable power management on the display involving xset and xrandr. However, I have no X running and the tools complain that they cannot find/open the display
    In /proc/asound/PCH/codec#2 I find the HDMI codec to show the following as long as it is connected after a reboot:
    Codec: Intel Valleyview2 HDMI
    Address: 2
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x80862882
    Subsystem Id: 0x80860101
    Revision Id: 0x100000
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
    Device: name="HDMI 0", type="HDMI", device=3
    Converter: stream=8, channel=0
    Digital: Enabled GenLevel
    Digital category: 0x2
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
    Power states: D0 D3
    Power: setting=D0, actual=D0
    Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
    Power states: D0 D3
    Power: setting=D0, actual=D0
    Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
    Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
    Control: name="IEC958 Playback Con Mask", index=0, device=0
    Control: name="IEC958 Playback Pro Mask", index=0, device=0
    Control: name="IEC958 Playback Default", index=0, device=0
    Control: name="IEC958 Playback Switch", index=0, device=0
    Control: name="ELD", index=0, device=3
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x00 0x00]
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Power states: D0 D3
    Power: setting=D0, actual=D0
    Connection: 2
    0x02* 0x03
    Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x00 0x80]
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Power states: D0 D3
    Power: setting=D0, actual=D0
    Connection: 2
    0x02 0x03*
    Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x00 0x80]
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Power states: D0 D3
    Power: setting=D0, actual=D0
    Connection: 2
    0x02 0x03*
    Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
    After disconnect/reconnect it changes to this:
    Codec: Intel Valleyview2 HDMI
    Address: 2
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x80862882
    Subsystem Id: 0x80860101
    Revision Id: 0x100000
    No Modem Function Group found
    Default PCM:
    N/A
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power: setting=UNKNOWN, actual=UNKNOWN, Error, Clock-stop-OK, Setting-reset
    Invalid AFG subtree
    I figured that the problem is probably related to powermanagement, so I experimented with powertop. This resulted in a reduced consumption of 1W when idle, which is nice but did not solve the original problem...
    The Questions
    Is there a way to completely reinit the HDMI subsystem just like on a reboot?
    Is there an option comparable to hdmi_force_hotplug=1 on the pi that forces the HDMI signal to stay up?
    Thank You for Your time!
    Best regards,
    Lars

    I can confirm what zofiel said. I have tested it by connecting a TV and HDMI reactivitated by switching from X to console. However, this option only works one time and requires X running in the first place, which I usually have not on a headless server, but it made me think: Obviousely the X server needs to activate the graphics in the first place. Then I came up with an idea for a really messy work around. I could try to remotely start X. Normally, this is not possible and you get:
    % startx
    /usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    You can force it to work:
    sudo startx
    You get lots of error messages, but HDMI audio is back, even if one kills the X process afterwards with Ctrl+C (Audio stops, but resumes two seconds later). The downside is that starting X with sudo messes up permissions with the x related files in your home directory and you will have problems to use startx afterwards, so it is probably better to use su instead of sudo. If root does not have a properly configured .xinitrc file then one can also just execute the desktop environment directly e.g., for XFCE:
    su - root -c "startxfce4"
    Then kill it with Ctrl+C and you should have HDMI Audio working.
    So now I could pack this in a script followed by some command to kill it, but, well, it is an ugly workaround
    Is there really no better way?

  • Samsung NP305V5A: Screen does not come back after resume

    The issue: screen does not turn ON when resuming from suspend-to-ram. PC fans start working. I can even "gently" reboot the notebook, by pressing <Ctrl>+<Alt>+<F1>, then <Ctrl>+<Alt>+<Del>. But the screen does not work..
    Note: resume worked with the Catalyst driver (but this blob has many other glitches...)
    $ lspci | grep VGA
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6520G]
    02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
    Video driver: radeon
    Kernel parameters: root=/dev/sda2 rw radeon.dpm=1
    (note: radeon.dpm=1 helps a lot; before kernel v3.11 I could not use radeon at all)
    /etc/X11/xorg.conf.d/20-radeon.conf
    Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "ZaphodHeads" "VGA-0"
    Option "ColorTiling2D" "false"
    EndSection
    not sure if the following is usable, but still:
    $ lsmod | grep video
    uvcvideo 72900 0
    videobuf2_vmalloc 3280 1 uvcvideo
    videobuf2_memops 2343 1 videobuf2_vmalloc
    videobuf2_core 28027 1 uvcvideo
    videodev 111140 2 uvcvideo,videobuf2_core
    media 11751 2 uvcvideo,videodev
    i2c_core 24164 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
    video 11196 1 samsung_laptop
    usbcore 179880 6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid

    Hi moose53,
    Just tested it with a Logitech keyboard and you are right, what you are describing is not expected behavior. I see you do not have any add ons, however does this also reproduce in Safe Mode? [[Troubleshoot Firefox issues using Safe Mode]]
    If yes, try a new profile [[Use the Profile Manager to create and remove Firefox profiles]]

  • GDM does not appear back after logging out from Gnome.

    Hello,
    I am tryingout Archlinux for the first time. I am able to goto run level 5 and after booting I get the GDM login screen. I can log in to Gnome. But when I log out from Gnome, GDM does not appear, but I get a black screen. Then, the only way to come out is to press the reset button.
    What may be the problem?
    Thanks for your help.
    Anand

    it may depend on how ur running gdm, (possibly with -*no-daemon option) .. in which case it'd prolly werk if u removed it...
    although i'd recommend using rc.conf instead as it's a lot cleaner...
    to use /etc/rc.conf
    add gdm to the DAEMONS;
    mine = "DAEMONS=(gdm @syslog-ng @network @alsa @httpd)"
    that starts gdm(in daemon mode), then starts syslog-ng,net*,alsa and apache in the background .. save me about 6 seconds when i background em.
    then you need to change the default runlevel in /etc/inittab to 3 (not 5)

  • Screen resolution does not change back after using a projector

    Hi!
    My office uses several different models of macbooks, but there is a small problem with all the Airs. When I have been using them with a projector I have to change back the screen resolution manually (go to the system settings and change resolution). On the macbook pros, however, the desktop restores themselves as soon as the projector is disconnected. It seems to me that this should be the standard behaviour of all macs, does anyone know why it is not working on the Airs?
    Best regards
    Erik

    Hi Erik,
    I had this problem on a MacBook and resolved it by recreating some plist files.
    ~/Library/Preferences/ByHost/com.apple.windowserver.xxxxxxxxxxxx.plist
    ~/Library/Preferences/ByHost/com.apple.preference.displays.xxxxxxxxx.plist
    The xxxx's are your machine's EthernetID (MAC Address). I wouldn't delete, rather just move them to your Desktop and restart the computer. See if that resolves it.

  • Satellite A30 does not come back after hibernation.

    If I don't touch the keys for 10 mins or so my laptop goes into hibernation. It will normally come back when I touch a key or the touch pad but sometimes nothing I do can get it back. I have to turn it off and then back on again. I was wondering if anyone had any ideas?
    I looked at the power management and I can turn off all hibernation but I like it to hibernate when I close the lid so is there any way to make it so it ONLY hibernates when I close the lid and at no other time?

    HI Clare,
    In the Toshiba Power Management utility you should click on the 'advanced' tab and about half way down the resultant window you should see an option for the action to be taken when you close the lid of your SA30.
    Make sure that this is set to 'hibernate'. Then go to the power save modes and click on the 'details' tab and then the 'Power Save Mode' tab and make sure that the 'Hibernate' option is set to 'never'.
    With these settings your notebook should go into 'hibernate' when you close the lid but not at any other time.
    Note that you can set the notebook to hibernate when running on battery when the bttery capacity reaches a pre-set value of your own choosing.
    regards,

  • My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker  while calling

    My 4s Goes to speakerphone automatically while calling and does not go back to normal even after disabling speaker phone button
    AlsO sometimes I. Cannot hear anything in normal speaker even though the call Is going through and has been re ieved on the other end, I have to enable speaker and then disable it to route audio to normal speakers

    I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
    I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
    The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
    IdleActionSec=9min
    IdleAction=suspend
    Will check it and report back.

  • Since yesterday I am facing problem,when it goes in sleep mode it actually turn off and does not come up after pressing start button but every time I have to hard reset it.It is 4 gen running on 4.3.3

    Since yesterday I am facing problem,when it goes in sleep mode it actually turn off and does not come up after pressing start button but every time I have to hard reset it to turn it on .It is 4 gen running on 4.3.3.Please help

    so I have called HP tech support 12 times over the last 6 weeks and still my HP Officejet 4620 loses connection overnight. Of course becasue it was a birthday present I spent more time than I normally would have on this issue. While the tech are very polite they have not fixed my problem and now it is too late to return printer to store. This is a lot of money wasted and I think they need to admit this is a bug in this printer and resolve the problem!!!!!

  • HT201401 i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    i have a birthday showing in my calendar listed as an all day event and it is incorrect how can I delete it. When clicked on does not bring up the edit feature. The vodaphone shop thinks it has synced with my facebook app.

    hello, the addons manager is exactly the right place to look for it. please try disabling the addons that are listed there one-by-one (a restart of the browser might be necessary after each step). maybe one of them is bundling this kind of adware.
    [[Disable or remove Add-ons]]

  • Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Hello QuinnDev,
    Thank you for posting in the Apple Support Communities.  It sounds like you are trying to use your MacBook Pro with a Thunderbolt Display in closed clamshell mode (MacBook Pro closed), but sometimes the display doesn't stay on.  I found an article that talks about closed clamshell mode.  You would have to fulfill the following requirements to use your display this way:
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    You can find all the steps and the full article here:
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    http://support.apple.com/kb/HT3131
    I hope this helps!
    All the best,
    Sheila M.

  • How to access my hard drive when the system does not work

    how to access my hard drive when the system does not work

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

Maybe you are looking for

  • Can't see contents of USB hard drive connected to Time Capsule

    Hi. I have a USB hard drive connected to my Time Capsule (which I just got today). I just want to use it as a shared drive, so that the users in my home can use it to access common files (media files, stuff like that). The TC's set up is to enable fi

  • How to get only current exception message from tables

    Hi In my sceanario , I want to have the list of Current MRP exception messages list from table I understand that MRP detailed lists, including all exception messages, are stored in transparent table MDKP and cluster table MDTC. I can tell ABAPer to w

  • Microsoft Word Scripts

    Okay, I'm trying to write some scripts to ease repetitive headings in word. All I want to do is have a script that types the word "Nonconformities:" in bold font. This is what I have so far... unfortunately it doesnt work at all. I'm very new to scri

  • Nokia E62 and iSync

    Does anyone know of a way to get these two to work. I just purchased an E62 assuming it would be supported because the E61 is. Anyone know of a plugin or hack. I've tried all the ones for the E61 but cant get any to work

  • Connecting a monitor to a Macbook Pro

    How do I connect a Macbook pro to a monitor? When I close the computer it does not seem to connect and the screen on the monitor goes black.