All Questions
Tagged with ios cocoa-touch
3,193 questions with no upvoted or accepted answers
14
votes
1
answer
859
views
How can I animate in the entrance of a CAEmitterCell?
Currently my particles appear on screen abruptly in their full shape and form. What I want is for the cells to either start at 0.0 opacity and animate up to full opacity, or start at 0.0 scale and ...
11
votes
2
answers
911
views
UISearchBar disappears from tableHeaderView when using beginUpdates/endUpdates
I have a table view controller with a UISearchController that sets UISearchBar as the tableView.tableHeaderView. When updating the search results, I use the beginUpdates and endUpdates and related ...
11
votes
0
answers
2k
views
How to listen to changes in Camera authorization status?
I'm writing an iOS 8 app where the user can take a photo from the Camera. I check for authorization status using this code (it's very straightforward, I'm pretty sure everybody does it this way):
...
11
votes
2
answers
2k
views
Keeping UINavigationBar at same size while hiding status bar
I've been trying to keep UINavigationBar from moving/resizing when calling setNeedsStatusBarAppearanceUpdate.
I want to keep the navigation bar at full 64px height when the status bar hides with ...
10
votes
0
answers
963
views
What does “Arg = Owned To Guaranteed” mean in Swift crash log?
My app running perfectly without any crashes in my phone. But in some other device it get crashed with error log function signature specialization Arg[0] = Owned To Guaranteed and Exploded, Arg[1] = ...
10
votes
0
answers
4k
views
Show Video on external Screen using AirPlay and AVPlayer
I am using Apple Airplay and AVPlayer to show a video on an external display, while showing some controls on the device using Apple TV and AirPlay.
I am using this class to display the AVPlayer on ...
10
votes
2
answers
2k
views
Share a storyboard viewcontroller between multiple subclasses
I have the same problem as Pedro here but not satisfied with the answer and since there is allready a bounty out and rewarded I created this question and I'll add a bounty as soon as possible.
I want ...
10
votes
2
answers
1k
views
Xcode 4 build Static Library dependency with different configuration setting
I was wondering whether it is possible to have dependant static library compiled with different configuration settings.
My case was I have a project (project.pbxproj) which is dependant on a static ...
10
votes
1
answer
1k
views
UIScrollView: getting a better presicion on contentOffset in scrollViewDidScroll:
I am trying to implement something based on the UIScrollView delegates, scrollViewDidScroll: in particular. So I read the scrollView.contentOffset in the delegate method and it works great until I ...
10
votes
1
answer
1k
views
On Demand Resources crash - NSBundle Resource Request could not connect to its helper daemon
Getting a crash for using ODR(on demand resources) on iOS app with this description -
Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: '...
9
votes
0
answers
2k
views
AVAssetTrack understanding preferredTransform property
I faced with misunderstanding of preferredTransform property of AVAssetTrack. In my app I am extracting video frames and trying to display them but I don't understand how the frame data is laid out ...
9
votes
0
answers
985
views
Add a parameter to the query string of all URLs loaded in a WKWebView
I'm using the "new" WKWebView to view a site in it, say http://mywebsite.com.
I would make sure that the app will pass an additional parameter in each page loaded, e.g.: http://mywebsite.com/?...
9
votes
1
answer
2k
views
How to track uiscrollview offset faster than in scrollviewdid scroll?
I need to get contentOffset values for a UIScrollView (UICollectionView to be more exact) that are sampled at a very high frequency in order to transform a layer based on the contentOffset of that ...
9
votes
1
answer
4k
views
Fetching IP address of router to which iPhone is connected
I want to fetch the IP address of the router (WiFi access point) to which my iPhone is connected wirelessly. The code gives only the IP address of the device
Can anyone help with a piece of code?
8
votes
0
answers
970
views
Handling UIKeyboardWillShowNotification so the keyboard is already up when a view controller is pushed?
Normally if you set a UITextField to become first responder in viewDidLoad or viewWillAppear, when the view controller is pushed onto the navigation stack, you get an animation where the view ...