When I create a window-based-application (in Xcode 4, via simulator and iPhone device, even if don't add anything to the project or the window),
if I kill the app, when I open it again the view is frozen and when I click the home button it disappears into a black window and I can't do anything...
What is the problem?
Thank you!
check if the application is running in background, it should be in your plist.
that will be a start, if the problem is still there u should post some of your code.
Related
I have a problem with Xcode 4.4.1 .
My Simulator becomes translucent black and hangs without any proper log message when I pressed a login button of my application after app launch.
Sometimes application or Simulator hangs just after the launch when I pressed the button or Sometimes it hangs after few second I request a network call with in application.
No pattern .. no message to trace. Tried many things like Xcode restart ,System restart and Clear logs and deleting temporary iPhone Simulator files in Library like that .
I am not able to get what is happening . Does anyone suggest me solution to get out of this.
Or Does somebody know the reason why this is happening. I mean its the application problem i.e in code or the Xcode or iPhone Simulator App problem.
Any help would be really appreciated.
I faced the same problem last day. I got it working after I have done the following, not sure which step did the trick.
Reset the simulator contents.
Quit simulator
Delete derived data of the project from xcode.
Restart xcode.
I'm developing an iOS app with core data.
Every time I kill the app (by pressing the home button twice and kill)
then when I load the app again, the view is the same as before (maybe because it was restored successfully) but it's stuck without any error... if I press home button again then the screen becomes black and I can't see anything....
just the threads in Xcode and the status is "running"...
Anyone has an idea? or somewhere to start digging in?
Thank you!
I know this problem. It is because of Xcode 4. Here's the deal => Try running the App in the iPhone/iPad and you will not have that problem.
From my experience, the problem exists with the iPhone simulator and it works on the device !!
hallo, i am newbie in developing iphne/ios application and i have
encountered some problem
generrraly my app (which is iphone camera image processing app) has no
visible errors at today stage except the one
when i press the home button to send my app off screen (putting to the
background), and then press the app icon to 'wake it up' again
it crashes
what would it be...? what the reason of it would be?
what is done to my app (seen from the view of programmer
- i mean internal game state) by this home buton operation?
- what i should take care of before "applicationDidEnterBackground"
eventually?
thanx for answer
Is this happening when you are running it from Xcode? Xcode does not like it if you hit the home button and start it again from within the device/simulator. Is it crashing if you launch it from the device (or simulator) without Xcode running? If not, then there probably isn't a problem.
I can't be sure when this stopped working because I haven't used it for a while, but it was possibly since I upgraded to the 3.2 SDK. In Organizer, when I select the "Screenshots" tab and press "Capture", nothing happens.
I've tried this with three different devices and I've restarted my Mac. What's happened, and how can I fix it?
I don't have the solution for your problem, but here's a workaround:
Use the device to make your screenshots (press the home and lock buttons simultaneously). The resulting screenshot will be saved on the device.
To transfer the screenshot to your desktop don't use slow-ish iPhoto or iTunes to synchronize. Instead import the images using Preview.app. There's a command in the file menu to import images from your iPhone when it's connected.
On xcode 4.0 (+), you can go to organizer and create a screenshot of device.
Window -> Organizer -> click the device tab and then screenshot button.
Hold command-shift-4. Then drag it across the iPhone screen. This key combination give you the ability to take a screen shot with the size you want.
I developed an app which takes 2-3 seconds to start up. I want to show a picture in this time frame, a UIImage or some other view. How can I do that? I tried pasting it in the window but it isnt showing.
You need to add an image to your project called Default.png. This is what the iPhone will show while your application is launching.
The easiest way to accomlish this is as follow:
1. Start XCode
2. From Xcode run the app on the iPhone and have it show excast screen you need
3. in XCode start Organiser tool
Organiser tool will allow you to capture screen directly from the connected iPhone and will even give you an option to have this saved as default.png directly as part of your project.
Worked great for me