0
votes
0answers
2 views
remove white from jpg with smooth edge in objective-c
I am using the UIImage category from the post below:
ios: change the colors of a UIImage
Works pretty good except there are some jagged edges. Is there another way to accomplish this but with a ...
1
vote
0answers
12 views
SDL 2.0 iOS Xcode Template and iAd
I'm developing an iOS app using SDL 2.0's newest snapshot from http://hg.libsdl.org/. The new iOS Xcode template only has a main.c. I don't know how to add a viewController to this for something like ...
0
votes
0answers
5 views
Collision Detection vertically in tilemaps, the background is only scrolling
I'm using cocos2d and I the player have the same positions(x and y), only the background ins scrolling to make the player seems running.
Anyway, I have set up some main tiles on a new layers for ...
3
votes
1answer
3k views
How to rotate UIImageView in 3d circular way?
I m new to core animation i want to rotate an imageview left or right but i want it to be rotated in z axis so it can looks like a circular rotation.Here is an image for more explanation
i want to ...
1
vote
2answers
630 views
iPhone Reachability - How can I use it across my entire app?
I have finally figured out how to use the apple Reachability files, which is a great thing.
My question is, since I have about 6 views, each of which needs to check to see if I am connected to the ...
1
vote
1answer
226 views
TWTweetComposeViewController a strange indentation on top
When you call the following twitter method I always get a strange indentation on top.
Here is my method:
- (void)twitter {
if ([TWRequest class]) {
TWTweetComposeViewController ...
1
vote
1answer
31 views
+150
AVCaptureSession front camera orientation
I'm using AVCaptureSession to record video, using AVAssetWriterInput I'm writing the video to a file.
My problem is with the video orientation, using apple RosyWriter example, I can transform the ...
1
vote
2answers
839 views
presentModalViewController inside UIViewController class
View *view1 = [[View alloc] init];
[self presentModalViewController:view1 animated:YES];
The code above works when connected to a UIButton. It does not work upon launch of an application by ...
4
votes
4answers
15k views
Customize header section for UITableViewController
I'll need to customize the header section of a UITableViewController where for each sections a different header text is returned (getting data from datasource as well). This is accomplished using the ...
6
votes
4answers
4k views
Playing system sound without importing your own
Is it possible to play already existing system sounds without importing your own?
6
votes
2answers
6k views
NSInternalInconsistencyException (invalid number of rows)
Whenever I have data in my UITableView and I start deleting, it works fine. However, when I get to the last object in the table, and delete it, it crashes.
Terminating app due to uncaught ...
0
votes
0answers
29 views
Why can't I authenticate to Facebook Chat in my iOS application?
I have been scouring the internet trying to find a solution to this problem. I understand the basic idea on how it is supposed to work, but I can't get the implementation to work and I can't find any ...
3
votes
5answers
4k views
iOS, Restarting animation when coming out of the background
when my app comes out of the background the animation has stopped. which is normal. but i want to restart my animation from the current state. how do i do that without my snapping all over the place.
...
0
votes
1answer
36 views
How to send sender inside action of UIBarButtonItem inside a UIToolbar
Seems like an easy task. A button inside a toolbar (on top of a keyboard) should send the sender to a function. With the code below I receive "unrecognized selector sent to instance" in the debugger.
...
15
votes
5answers
1k views
The zoomScale property of UIScrollView isn't updated while zoom-bouncing
Right now I have a view that is outside of the UIScrollView. For many reasons, it cannot be simply inside the scrollview. So right now what i'm doing is, as the UIScrollView is scaled/panned, I ...