0
votes
1answer
6 views
Looking for an alternative to touchesMoved to detect any touch event within a defined area?
I have a virtual keyboard in my app with 6 keys, and the whole thing is just an image implemented with UIImageView. I determined the exact x and y coordinates that correspond to the image of each ...
0
votes
1answer
16 views
With ARC turned on, is there a different between alloc/init and normal autorelease methods? [duplicate]
What is the different between these two when using ARC in Objective-C for iOS?
NSMutableArray *anArray = [[NSMutableArray alloc] initWithArray:itemsArray];
appDelegate.wishlistItemsArray = anArray;
...
0
votes
0answers
18 views
Calculating the swipe distance using touchesBegan and touchesEnded
I am able to find the x,y location on the iPhone screen using a method similar to: How to get a CGPoint from a tapped location?. However, since TouchesBegan and TouchesEnded require void, I am unable ...
1
vote
1answer
9 views
How to setup a subclass of UIScrollView to respond to touch events?
I recently had a problem regarding not being able to register touches events (touchesMoved, etc) from within a UIScrollView. After talking with lots of people and reading tons of posts, it turns out ...
0
votes
1answer
13 views
With AutoLayout, I want an 8px high view to stick to the bottom of its superview
I have a UIView acting as a progress bar that sites at the bottom of the screen. I can't seem to figure out how to use AutoLayout to have it stick to the bottom of the screen and remain 8px high.
Is ...
0
votes
0answers
6 views
Disk Backed Image Cache for UIImageView in AFNetworking
I'm looking to swap out the AFImageCache used by default in the UIImageView+AFNetworking category for something that's disk based and that can managed a little more accurately (something like ...
1
vote
0answers
24 views
removeFromSuperview not releasing the view while using ARC
I am adding a subview to my finalview which is used to change prefrences on the app.
I add it like this from my finalview
getPrefrencesViewController = [[GetPrefrencesViewController alloc] init];
...
0
votes
0answers
8 views
Create a site which Download ios sponsor application then get credit(itunes gift,amazon,…)
I want to Create a site which work look like FreeMyApps.com,this site in first you must to enroll.enroll process is install a profile.
my problem is:
1-How Create my own profile and let other install ...
-1
votes
1answer
22 views
Calling a method inside a delegate
I am using zBar SDK once a qr code detected a delegate will run, inside this delegate I defined a myView and used it as a overlay on the camera with information about that qr code.
inside the myView ...
0
votes
1answer
22 views
Add scrollview iOS Objective-C
I have the following code in viewDidLoad on my ViewController:
self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:204.0/255 green:00.0/255 blue:00.0/255 alpha:1];
...
1
vote
1answer
17 views
Get Boolean Value from Reddit .JSON Parse
The file can be viewed here. I am parsing for the attribute "likes" but I am getting <null> even when I have liked the post. I am 100% sure my modhash is valid, and when I view the file I can ...
1
vote
1answer
12 views
get warning for autolayout, NSAutoLayout,objective C
My goal : to center an indicator ( vertically and horizontally ) to the button in a view
What I am doing is :
[self.logInButton addConstraint:[NSLayoutConstraint constraintWithItem:spinner1
...
1
vote
2answers
30 views
UIToolbar and CGRectMake
I have 2 UIToolbar in one ViewControler.
I need to change their positin on rotating.
I add 2 outlets
@property (nonatomic, retain) IBOutlet UIToolbar *toolbar1;
@property (nonatomic, retain) ...
0
votes
0answers
7 views
Not able to connect two devices without using GKPickercontroller
I am trying to connect two devices using Gamekit and transfer small amount of data. I was able to do this with the use GKPickerController but now to make the user experience a little better i am ...
-6
votes
0answers
59 views
Making moving background like in iOS 7 [closed]
Im looking for a way to make moving backgrounds like in the new released iOS 7. I know that Apple has released an API for this in iOS 7, but I need it to function in older versions.
Hope you can ...