Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6833565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:59:39+00:00 2026-05-26T22:59:39+00:00

Square’s new card case iOS app has a Create Account feature. Tap it and

  • 0

Square’s new card case iOS app has a “Create Account” feature. Tap it and it shows a form PREPOPULATED with the user’s entry from the Address book.

How is this possible? Anyone know? I thought this was unpossible, to get the user’s info this way. It’s not an iOS 5.0 thing, afaict.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:59:39+00:00Added an answer on May 26, 2026 at 10:59 pm

    the only solution I could come up with was using the device name and then searching the addressbook for a match. this assumes someone would use a particular naming convention. I for example use ‘Nik’s iPhone’ as my device name. I am also the only Nik in my addressbook, so for my scenario is works well to use the text prior to ‘s as the owner name.

    It makes use of the very handy wrapper for ABAddressBook by Erica Sadun, ABContactHelper.
    I’ve left the enumeration code in instead of using array index at 0 as likely a small number of matches will be returned so you could expand to give the user an option to choose ‘their’ details. Which whilst not exactly matching the square case solution works well. imho.

    NSString *firstname;
    NSString *lastname;
    
    NSString *ownerName = [[UIDevice currentDevice] name];
    
    NSRange t = [ownerName rangeOfString:@"'s"];
    if (t.location != NSNotFound) {
        ownerName = [ownerName substringToIndex:t.location];
    } 
    
    NSArray *matches = [ABContactsHelper contactsMatchingName:ownerName];
    if(matches.count == 1){ 
        for (ABContact *contact in matches){
            firstname = [contact firstname];
            lastname = [contact lastname];
    
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The official site shows the following function square = (x) -> x * x
Hi i need some help for drawing square in sample iphone app.So if someone
Create a square UIView object testView_, and add this at viewDidLoad: - (void)viewDidLoad {
The square of the hypotenuse of a right triangle is equal to the sum
Given a square (described by x, y, width, height) and an angle (in radians)
I have a square 400 x 400 with a plane projection attached to it
How do I square the corners of a submit button? Can it be done
Are the square brackets around arguments in Clojure's defn , defmacro and binding (am
I need to declare square matrices in C# WinForms with more than 20000 items
Is it possible to square a number stored in a register (say eax) without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.