I can't turn off my iPhone after building Project. What to do? - xcode4.5

I am building a project. Everything fine. Then I installed that on my iPhone.
My iPhone stack at the front screen and that's it.
Pressing the power off button for long doesn't work.
The xcode says Could not launch "Application Name". permission denied.
Should I just wait till iPhone run out of battery?

Try to restart iPhone using the instructions here:
http://www.apple.com/support/iphone/assistant/phone/#section_1
"To reset iPhone, press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears."

My iPhone5's display became so large that I could not use it. When I tried to reset the size just like I do on my MacPro, it didn't work. So, I thought I'd restart it, but when I pressed the top button, the screen with the "slide to power off" came on and it was not possible to complete the task. It was frustrating and I thought of taking the battery out and putting it in again, but then I thought to try sliding the bar with my stylus pen and it worked immediately.

Related

Image superimposed on android emulator

I have not been able to find out why I use a ASSUS ROG 2080 gpu super and this image is appearing on top of my android emulator. This is just with a standard File - > Xamarin Project.
Is it something to do with my 2080 super rather than my android emulator?
Edit 2
As you see its no where to be seen nore is it in the programs list.
The issue was not inside the Nivda driver it self but it was actually in a program called CPU Tweek
If you see here the button at the top with on or off if you switch that off it will no longer appear
However if you want to see the Fps in an app on simulator leave it on and go to settings cog at the top of the screen. Then to the OSD tab and scroll down to photo and simply turn that off.

Keep QDialog on top of everything, even fullscreen applications?

On a project I work on, using Python3 + PySide, I try to print a popup-message as some sort of notification.
This popup needs to be on top of everything, this includes fullscreen applications like games or browsers. And that's the point that does not work. It works fine for all windows on my Desktop, normal windows, maximized, but as soon as there is a fullscreen application or a borderless window ("pseudo fullscreen") the popup is created, but "behind" the fullscreen app.
I already use self.setWindowFlags(QtCore.Qt.FramelessWindowHint | QtCore.Qt.WindowStaysOnTopHint) but this flag does get ignored by other fullscreen apps.
How do I fix this? Also without giving focus to the popup.
It is just there to present information, and it is not good when your window looses focus while playing a game.
My code can be found here: https://github.com/GosuSan/PyECM
additional Info:
- my project aims to be cross-platform, so I need a platform-independend solution
- I am running linux, without having a windows machine atm,
so I can't test stuff there.
If you need any more info, let me know!
Edit:
It seems that PySide.QtGui.QSystemTrayIcon.showMessage does what I want, it works on fullscreen as well as on borderless-windows. So I will try to either find out how those messages are displayed on top, or just use them, not sure for now.

I am looking how to Go Back in iOS Simulator

I am looking for the keyboard shortcut for Going Back (to last screen) using the iOS Simulator.
I have tried searching, I didn't find anything.
I know this thread is old, but am gonna answer, it may help some on.
I dont know about a keyboard short cut to go back to the prev screen but on my iphone 12 simulator, I am swiping from the most left part of the screen to the right horizontally. Its working.
The iOS Simulator just runs iOS, so the way you would "go back" in the Simulator would be the same way you do on device. If you designed you application to "go back" with cmd-b (for instance), you would issue cmd-b in Simulator while your simulator device has focus. If you go back with a given swipe gesture, the same gesture should work in the Simulator.

Xcode iOS 7 simulator- no home button?

I have download Xcode today ,and i can't see the home button in simulation.
I was trying to do cmd+1 but it didn't work .
How i get back the home button ?
Cmd-Shift-H
(wasn't obvious to me too when I first opened it)
The Hardware tab will give you access to the home button, as well as other things such as rotate screen, shake screen, and lock the device.
Good luck!

iPhone Simulator slow and jerky

My problem is that when ever the iPhone has to push a view (like the keyboard) it takes a really long time (15+ seconds).
I never used to have this problem with the simulator, but after I updated xcode to 3.2.3, the simulator is almost un-usable for anything which requires a keyboard.
For example, on the simulator the springboard app (the one which stores your icons and has the search pane to the far left). When I scroll all the way over to the search, the keyboard pops up immediately but it takes a very long time for it to register any taps and the entire simulator becomes unresponsive.
This happens with any app.
Also, sometimes it can take a very long time for the keyboard to even show.
I'd really appreciate any thoughts!
In my case this was being caused by the NSZombieEnabled flag. Try disabling that if you have it set and the MKMapView may come "back to life".
EDIT: Unfortunately my problem just came back, so the above did not solve this problem. Sorry!
Finally solved this over here. In my case it was caused by a bad stick of RAM. OWC has a good article about checking for bad RAM DIMMs over here: http://eshop.macsales.com/Search/displayFAQDetails.cfm?ID=355 - maybe worth a shot. I re-seated my 2 risers in my Mac Pro, and the simulator is buttery smooth again!
Remember that using shiftkey you can toggle simulator animations slower or faster
pushing down shift for about 2 to 3 seconds toggle simulator to slow/fast animation

Resources