Tagged Questions
iOS is a mobile operating system developed by Apple. It was originally named "iPhone OS", but was renamed to "iOS" in June, 2010. iOS currently runs on the iPhone, iPod touch, and iPad. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.
0
votes
0answers
2 views
Xcode 7.2 fatal error “Unexpectedly found nil while unwrapping an optional value!” SpriteKit
I keep getting bugs and I don't know what's wrong!!!
I did a if/else if statement with the function and it keeps breaking and I have no clue why! I did a statement in which I checked to see if the ...
0
votes
0answers
6 views
Is it possible to fade between two view background images?
I would like to know if it's possible for some button to cause a fade from one background image to another? The following code I have results in an abrupt change from the current image, ...
0
votes
0answers
3 views
AdMob, Google Mobile Ad, switching from iAd, bannerView
iOS 9.3, Xcode 7.3, ARC enabled.
I am migrating away from iAd, and I have some general questions regarding best design patterns and how to properly use the Google Mobile Ads framework for banner ...
1
vote
2answers
14 views
Override IBOutlet properties from super class?
I would like to create a super class in a framework that modifies IBOutlet properties. However, I would like a subclass to be connected to the storyboard, since I don't want to connect the controls to ...
0
votes
3answers
14 views
Getting input from text field in ViewController and using in another class
In ViewController.swift, I have a text field whose input I would like to use and manipulate in my other class, Conjugate.swift. I am capturing the input at the same time the keyboard is hidden, like ...
0
votes
0answers
4 views
AWS Cognito Authenticate Users with Firebase Email And Password IOS
I am having difficulty navigating Amazon's documentation. I currently have an app that logs in using Firebase's email and password identification. How do I connect this to my data stored in AWS using ...
0
votes
0answers
4 views
Problems about iAD -AutoLayOut & Error
I'm trying to add iAd into my app, but I have some questions. Can someone help me?
1- When I run the app, I get an error like
"2016-04-04 00:57:42.763 APPDraft1 [266:17483] Error ...
0
votes
0answers
8 views
Sub root nodes deleting after login again in Firebase? - Swift
I have "likes" root node to hold many post id for every users. But after login with facebook, everytime likes node deleting/updating from users. Is there a problem? How Can I prevent this case and ...
0
votes
1answer
7 views
Swift: How to get next drawing cycle to refresh View with setNeedsLayout
I have a custom view within my ViewController that I want to update some info on. This info is being drawn asynchronously from Firebase.
I'm trying to use view.setNeedsDisplay or view.setNeedsLayout ...
-1
votes
1answer
18 views
How can I pull the grades on the website, and perform the login using a POST request?
I am trying to pull my school grades from the website which stores all my grades, but I am having trouble logging in using HTTP requests, and pulling the information of the next page. Any help is ...
0
votes
0answers
4 views
Store user's account contact list in a database IOS
I'm developing an IOS app where the user has an account and a contact list. All the contact lists of all the users need to be online. I don't know what type of database can I use for it.
0
votes
0answers
7 views
Building an app that can send sms/mms
I am currently using react-native and I want to build an app like imessage that can send sms/mms over the cellular-data networks if Wi-Fi is unavailable. Any suggestion on where to start?on how?
0
votes
2answers
24 views
How can I reload just the collection view cells?
I have a UICollectionViewController with a UICollectionReusableView in the header section. I have a UISegmentedControl within the header that reloads the data in the collection view cells. However, I ...
0
votes
2answers
19 views
Hide dots on final page of UIPageViewController swift
I have four pages in a UIPageViewController, and I'd like to hide the dots on the last page. I successfully made a function that gets called on the last page of the UIPageViewController. Basically, if ...
-2
votes
0answers
7 views
App to share contacts in my enterprise
I need a App to Android and IOs to manage and share contacts between all my employes. Any idea?
I tried someones how Contacts+, Simplifier, but don't have that i need.
0
votes
1answer
16 views
Preventing upload of duplicate image to parse in Swift
I have created a user profile edit page in the ViewController. When user edit only textfields and hit save button even though the picture is the same it will still upload it again. I want to check if ...
1
vote
2answers
16 views
Prevent footer overlapping tableViewCell in UITableView - Swift
I have this table view which works how i want it to however i have a problem where the footer overlap the cells in the table view as seen in
How can i prevent this? This is my code for the footer
...
1
vote
1answer
9 views
determining the intrinsic size of a UIStackView before display on the screen
I would like to determine the instrinstic size of a stack view before displaying it on the screen. The idea is to use it as part of a pull up menu from the bottom of the screen but when I query the ...
-1
votes
1answer
18 views
Swift ios facebook login crashes app if user cancel login
I am using the following code to login with facebook:
@IBAction func fbLoginBtnDidTouch(sender: AnyObject) {
let fbLoginManager : FBSDKLoginManager = FBSDKLoginManager()
...
3
votes
1answer
17 views
UICollectionViewCell outlet nil in class but works after using dequeueReusableCellWithReuseIdentifier
There are several posts on nil outlets in a UICollectionViewCell class like this and this, but none of the solutions worked. Using a strong outlet instead of a weak one failed, the registerClass ...
1
vote
1answer
17 views
iOS - Objective-C unable to dequeue a cell with identifier
'unable to dequeue a cell with identifier news - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
#import "SidebarViewController.h"
#import ...
1
vote
0answers
10 views
Add padding to Section Header in UITableView
I created this section header title and unfortunately I don't know how to add some padding on the right.
Here's my code:
override func tableView(tableView: UITableView, viewForHeaderInSection ...
0
votes
0answers
2 views
How to increase the height of map pins' callout and make the content scrollable
I'm new to iOS development. I'm trying to display a tableView inside a map pin's callout. I'm able to do that by assigning the leftCalloutAccessoryView property of the Annotation to my custom view ...
0
votes
1answer
24 views
Weak Refrence in class return nil when created in first class's init
im trying to create weak reference class in another class, in first class's init i create instance of second class to use it in a function, but after init function is done , second class get destroyed ...
0
votes
1answer
8 views
Swift 2.2 - UICollectionView didDeselectItemAtIndexPath effects multiple cells and gives “nil”
I have an horizontal collection view containing 11 cells when selecting a cell its border changes to green. The problem I have is that when I select the cells it changes the border of the not visible ...
0
votes
0answers
10 views
Screen shot is coming out stretched
I have AVFoundation framework in my project and I am taking a screenshot with the previewLayer visible. When I take the screen shot the image appears to be stretched a little bit. How can I fix the ...
1
vote
0answers
8 views
UISearchBar translucency at iOS SKD 9.3
After updating Xcode to 7.3 (iOS SDK 9.3) my UISearchBar ignores setting transluent property. This code worked well before update.
override func viewDidLoad() {
super.viewDidLoad()
...
0
votes
2answers
18 views
What is this popup object called in iOS?
What is the pop-up object used in the Apple's "Clock" app for iPad called?
The popup looks similar to a MapKit callout, but often comes out of the side of a clicked button. Apple uses the pop-up ...
1
vote
2answers
16 views
Can't set Detail label of UITableViewCell
I am trying to create a screen with UITableview that consists of sections and different row types (shown here). Problem is, when trying to change the value of Detail label in Frequency cell, it says ...
0
votes
1answer
8 views
How to send a Parse Push notification to a specific user
I'm trying to make a Cloud code to send a Push Notification to a specific user.
The Parse user can have several installations.
I want to send the notification only to the First created User. I'm ...
1
vote
1answer
9 views
How to parse date with NSDateFormatter with timezone?
This is the date format I'm getting back from the server:
Tue Apr 05 2016 23:59:00 GMT-0700 (PDT)
This is what I have so far: "EEE MMM dd yyyy HH:mm:ss 'GMT'Z (zzz)"
Which characters are having ...
0
votes
1answer
14 views
Updating autolayout constraints depending on orientation
I have a ViewController class that has a textField variable, which is configured
when it is set in the viewDidLoad method of the ViewController.
class ViewController: UIViewController {
weak var ...
0
votes
1answer
6 views
Can Document Picker be used without being the member of Apple Developer Program?
Can we use Document Picker without being the member of Apple Developer Program? If Yes, then how?
Prior to Xcode7, test on device could only be done for members of developer program. Is it the same ...
0
votes
1answer
11 views
Pull-to-refresh modifies array value?
I'm working on a pull-to-refresh on iOS with Swift.
I have an array with city names, cityNames = ["Chicago", "New York City"]
I implemented a pull-to-refresh to fetch temperature data from the ...
0
votes
0answers
6 views
Swift: My app stops update nowPlayingInfo and answers to headset controls after I use a mic
I have a question to ask but it has a lot of simple code under. So I just explain my situation and hope you'll tell me what direction I should dig.
I have app that plays audio and uses mic. I am ...
0
votes
0answers
20 views
Store an image to Firebase using swift [duplicate]
i have a problem storing images to Firebase. First of all i have a file DataService.swift, basically for references etc and i have the Create Account func in the CreateAccount class.
DataService:
...
0
votes
0answers
10 views
Bouncing label in Sprite Kit Swift
I'm building a game where a label should bounce into screen (just once) when the screen is touched (it is inside touchesBegan).
I found this extension that helped with "bouncing", but I don't know ...
0
votes
2answers
13 views
Retrieving child values from Firebase
I have a query the looks for a specific UUID and returns the object.
print(snapshot)
Snap (users) {
"-KENROf9kGUPw1j6ghFo" = {
UUID = "A1166D66-31B4-4B1C-B28C-58E9E5615D16";
nickname ...
-1
votes
0answers
7 views
Is it possible with own SDK's for Android and iOS to read the content of the App, which is using the SDK?
Is it possible to write own SDK for Android and iOS and when some App uses this SDK you can read the content of the current window?
I would like to have the possibility to read the content, send it ...
-1
votes
1answer
6 views
Interface Builder documentation
Is there Apple documentation on Interface builder?
I am looking at IB options for the view and see:
Adjust Scroll View insets
Hide Bottom Bar on Push
Resize View From NIB
etc...
There are dozens ...
0
votes
0answers
14 views
NSURLConnection Delegate vs NSURLSessionDelegate
I am testing NSURLConnection and NSURLSession
For NSURLConnection
NSURLConnection *conn = [[NSURLConnection alloc] initWithRequest:request delegate:self startImmediately:NO];
[conn ...
0
votes
2answers
13 views
Efficiently canceling key frame animation in Swift
I have a key frame animation to show a card-dealing effect in Swift. I use a second animation (using .BeginFromCurrentState ...) to cancel the dealing if you press a button. This has worked ...
0
votes
0answers
10 views
WOW.js and Pure CSS Parallax Scrolling (Keith Clark)
Using wow.js in conjunction with Keith Clark's pure css parallax scrolling together. On desktop they work fine, on mobile (iPhone/iPad)... it's either or.
Seems that putting overflow:hidden on the ...
0
votes
1answer
20 views
Detect if pointer is nil with Parse-Server
I am trying to detect if a pointer is actually in my database for a key "school_name". Normally, I can check if a key has a value by writing
if PFUser.currentUser()?.objectForKey("school_name") == ...
-5
votes
1answer
22 views
how to create a complete chat app? (Android and iOS) [on hold]
I want know how can I create a chat app(like WhatsApp, Telegram...) I want the app be in Android and iOS if it can be possible be in Web. I want to be it free or open source. I need a backend as a ...
1
vote
0answers
14 views
Can't connect to Xamarin on Mac from Visual Studio
I have Xamarin installed both on my Visual Studio 2015 and my Macbook Pro with OS X 10.11.4. The problem is that when I try to connect from VS to OS X it says that for some reason it can't start ...
1
vote
2answers
18 views
Passing UITextField text to UILabel on different View Controller
I am trying to pass UITextField's text from View Controller 1 to the UILabel in View Controller 2.
I am using segue to pass the information, but I am not getting anything on Label. It seems like the ...
0
votes
1answer
11 views
Core Data: change delete rule programmatically
My iOS app downloads record from a 3rd party database, and stores them locally using CoreData. The user is able to edit some aspects of the stored records, eg user notes can be added in addition to ...
0
votes
0answers
9 views
AJAX form submit stopped working on iOS 9
I have such piece of code.
$(document).ready(function() {
$('#form-order').submit(function(event)
{
// Values
var id = <?php echo ...
0
votes
0answers
10 views
Xcode upload for TestFlight - do I need a distribution provisioning profile?
I'm new to iOS development, and I'm at the step where I'd like to beta test my app. In looking at the instructions for TestFlight, I ran across this:
Important: In order to use iTunes Connect for ...