Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

December 23 2010

ios-dev

Presenting your apps on the big screen – Screen mirroring for iOS

UIGetScreenImage() returns a CGImageRef instance, basically a screenshot of the main screen.
UIScreen is a new UIKit class  that abstracts display interfaces
An important thing to note is that in order to take part in the rendering pipeline, each screen must have its own root UIWindow instance.
Tags: DISPLAY

December 20 2010

ios-dev
3374 e20a 500
Updating existing NSDataObjects is quiete easy using the Design >> DataModel-Menu.

First select the new attributes in xcdatamodel-file. Then select Design >> DataModel-Menu >> Copy Method Declarations to Clipboard and paste it in your NSDataObject. Xcode generates all the code you need.
ios-dev

November 26 2010

ios-dev
stretchableImageWithLeftCapWidth:topCapHeight: create Buttons from Images with non-streched portions
UIImage Class Reference

November 24 2010

ios-dev

November 23 2010

ios-dev
ios-dev

[UIImage stretchableImageWithLeftCapWidth:topCapHeight:]

creating buttons, and bubbles from an image with fixed left and top areas and a 1px stretchable area after that

November 17 2010

ios-dev

November 13 2010

ios-dev

Ipad MPMovieplayerController video loads but automatically pauses when played - Stack Overflow

the problem is the concurrent access of the avaudioplayer, so setting
moviePlayerController. useApplicationAudioSession = NO
helps
Tags: iPd

November 12 2010

ios-dev
TDD for iPhone Development on Vimeo
ios-dev
ios-dev

November 09 2010

ios-dev
ios-dev

November 08 2010

ios-dev
ios-dev
ios-dev
ios-dev
#import <QuartzCore/QuartzCore.h>
when using view.layer.(cornerRadius, maskToBounds and borderColor)
UIButton.layer.cornerRadius doesn't exist? - Stack Overflow
Tags: UI QUARTZ
ios-dev
AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);

works on the iPhone as expected (triggers Vibra) and on the iPod Touch it play a short beep sound sequence.

In opposite, AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);

triggers on the iPhone the vibra, but does nothing on the iPod Touch.
Apple - Support - Discussions - Playing beep sound on iPod Touch? ...
ios-dev

Reachability Sample:

if ([[Reachability reachabilityForInternetConnection] currentReachabilityStatus] == NotReachable) return;

enum: NotReachable,ReachableViaWiFi,ReachableViaWWAN

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl