iphone Programming Glossary: turning
Not sure why UIView is being nudged up by around 10px http://stackoverflow.com/questions/1054539/not-sure-why-uiview-is-being-nudged-up-by-around-10px code no matter if it's inside the applicationdidfinishlaunching or in self originalView but it seems like 'window' is turning out to be a different object. Any help greatly appreciated. iphone xcode uiview window xib share improve this question..
Saving an NSMutableArray to Core Data http://stackoverflow.com/questions/1104075/saving-an-nsmutablearray-to-core-data isn't a supported type in Core Data. I tried making a tranformable attribute but the problem is that I see no way of turning a NSMutableArray to NSData and then going from NSData back to an NSMutableArray. Does anyone have an idea as to how this..
How do I prevent the iPhone screen from dimming or turning off while my application is running? http://stackoverflow.com/questions/125619/how-do-i-prevent-the-iphone-screen-from-dimming-or-turning-off-while-my-applicat do I prevent the iPhone screen from dimming or turning off while my application is running I'm working on an app that requires no user input but I don't want the iPhone to enter..
NSDateFormatter, am I doing something wrong or is this a bug? http://stackoverflow.com/questions/143075/nsdateformatter-am-i-doing-something-wrong-or-is-this-a-bug Are you doing anything else with dateStr that you didn't post here How are you checking the value Follow up Try turning the am pm setting on then off. I didn't have the problem either until I did that. I am printing it out the same way you..
upload image from iphone to the server folder http://stackoverflow.com/questions/1939335/upload-image-from-iphone-to-the-server-folder server side scripting if can how this can be done thanks iphone image upload folder share improve this question turning the image into a NSData object getting the image back out of the UIImageView setting the quality to 90 NSData imageData.. body now lets make the connection to the web NSData returnData NSURLConnection sendSynchronousRequest request returningResponse nil error nil NSString returnString NSString alloc initWithData returnData encoding NSUTF8StringEncoding NSLog returnString..
How to disable phone number linking in Mobile Safari? http://stackoverflow.com/questions/226131/how-to-disable-phone-number-linking-in-mobile-safari strings of digits that appear to the telephone numbers. I am writing a web page containing an IP address and Safari is turning that into a phone number link. Is it possible to disable this behavior for a whole page or an element on a page iphone..
Reset push notification settings for app http://stackoverflow.com/questions/2438400/reset-push-notification-settings-for-app for a day. You can achieve the latter without actually waiting a day by setting the system clock forward a day or more turning the device off completely then turning the device back on. Update As noted in the comments below this solution stopped working.. actually waiting a day by setting the system clock forward a day or more turning the device off completely then turning the device back on. Update As noted in the comments below this solution stopped working since iOS 5.1. I would encourage..
Detecting Acceleration in a car (iPhone Accelerometer) http://stackoverflow.com/questions/2733249/detecting-acceleration-in-a-car-iphone-accelerometer The problem with this is that the typical car receives much more force than just the forward force everything from turning to potholes was causing the values to go out of sync with what was really happening. The next run was to add the condition..
Turn on torch/flash on iPhone 4 http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4 on torch flash on iPhone 4 I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession..
Turn off display in iPhone OS (iOS) http://stackoverflow.com/questions/3950194/turn-off-display-in-iphone-os-ios off display in iPhone OS iOS is there a way to programmatically turn off the display in iOS Not just turning brightness down but off like the way the Phone App does. I am happy to use private API since this is for personal use. Thanks..
What happens to an iPhone app when iPhone goes into stand-by mode? http://stackoverflow.com/questions/411436/what-happens-to-an-iphone-app-when-iphone-goes-into-stand-by-mode is locked for details. Note that the idleTimerDisabled property which can be turned on to prevent the screen from turning off while the app is running is about locking the screen after user inactivity. It's not directly related to system sleep..
Turn a page like a Book with UIView? http://stackoverflow.com/questions/477078/turn-a-page-like-a-book-with-uiview a page like a Book with UIView I am trying to switch between UIViews by making it look like you are turning a page in a book. The UIViewAnimationTransitionCurlUp is pretty close if I could get it to curl toward the Left or Right... or Right. Is this possible I have tried to use the CATRansition but none of the animation types come close to a page turning. Any suggestions on how to create this page animation transition that would turn a page toward the left or right iphone..
NSFetchedResultsController custom sort not getting called http://stackoverflow.com/questions/4789782/nsfetchedresultscontroller-custom-sort-not-getting-called not sort using the comparator until the managed object model is changed Notes I have tried also turning off caching and or performing a fetch in viewDidLoad but it seems that how many times I fetch does not matter but when...
Turning an iPhone or iPod into a wireless webcam http://stackoverflow.com/questions/5258696/turning-an-iphone-or-ipod-into-a-wireless-webcam into a wireless webcam I'd like to stream video from the camera on an iOS device to a receiver via wifi in effect turning the device into a wireless webcam. Is there a way to build a small app that captures video input on an iOS app and sends..
AESCrypt decryption between iOS and PHP http://stackoverflow.com/questions/6461419/aescrypt-decryption-between-ios-and-php for padding is equal in value to the number of bytes added. In this example 11 bytes were added to the end of 'Hello' turning your 5 byte input into a 16 byte block for AES. 11 0x0B. Thus the code above will not work when the plaintext is not length..
Why am I having to manually set my view's frame in viewDidLoad? http://stackoverflow.com/questions/6757018/why-am-i-having-to-manually-set-my-views-frame-in-viewdidload of where I expect them to be which is the top left corner just under the navigation bar. What am I doing wrong UPDATE turning off all the autosizing stuff on the view changes result #1 to be view frame 0 0 748 1024 That seems a tiny bit closer but..
Why is object not dealloc'ed when using ARC + NSZombieEnabled http://stackoverflow.com/questions/8408071/why-is-object-not-dealloced-when-using-arc-nszombieenabled share improve this question Turns out I've written some serious nonsense If zombies worked like I originally wrote turning on zombies would directly lead to innumerable false positives... There is some isa swizzling going on probably in _objc_rootRelease..
How to limit UITableView row reordering to a section http://stackoverflow.com/questions/849926/how-to-limit-uitableview-row-reordering-to-a-section to limit UITableView row reordering to a section I was hitting my head over this one and google was turning up nothing. I eventually worked it out and thought I'd write it up here for the sake of the next person. You have a UITableView..
BradLarsons GPUImage Example / IOS 4.1 Building problems / Compile is OK but nothing builds on iphone [closed] http://stackoverflow.com/questions/10163664/bradlarsons-gpuimage-example-ios-4-1-building-problems-compile-is-ok-but-not happens but here is the activity from that period of time. UPDATE Thanks to Brad xcode did a build on the iphone. Turning the Iphone off and on several times solved this problem. But new problems arrive quick. When the App is running I see only..
Turning on 'DEBUG' macro value http://stackoverflow.com/questions/1041193/turning-on-debug-macro-value on 'DEBUG' macro value In my code I want to conditionally perform a few operations with #ifdef DEBUG NSLog @ I'm in debug..
Turning screen off http://stackoverflow.com/questions/1189895/turning-screen-off screen off I need my application to be running without the iPhone going to sleep. But I'd like to turn the screen off...
Turning an iPhone or iPod into a wireless webcam http://stackoverflow.com/questions/5258696/turning-an-iphone-or-ipod-into-a-wireless-webcam an iPhone or iPod into a wireless webcam I'd like to stream video from the camera on an iOS device to a receiver via wifi..
Why is XCode archive acting different than XCode build/run on iPhone http://stackoverflow.com/questions/8813711/why-is-xcode-archive-acting-different-than-xcode-build-run-on-iphone 4.x ARMv6 devices when compiling a release build. I have no idea why but turning off compiler optimizations will help. Turning off Thumb may also help you with this issue you can go to your build settings and mouse over the Other C Flags option. Click..
|