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 8349513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:01:14+00:00 2026-06-09T08:01:14+00:00

I am looking for a little help and I have searched around however found

  • 0

I am looking for a little help and I have searched around however found nothing on this so far. Maybe somebody can help.

So I wondered if there is a way to set a ‘datasource’ for the UIDatePicker. I want to create a date picker that only shows certain dates and times that are available, say for instance;

a view with

Thur 9 Aug: 0900, 0930, 1000, 1100, 1130, 1200

Fri 10 Aug: 0900, 0930, 1000, 1030, 1100, 1130, 1200
(No weekend)

Mon 13 Aug: 0900, 0930, 1000, 1030, 1100, 1130, 1200

Is this functionality supported by UIDatePicker or will I be looking at using UIPickerView instead?

Thanks,

A

* Update: a good example is within Apples Apple Store app, you can select a Genius Bar appointment from a restricted value UIDatePicker *

  • 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-06-09T08:01:15+00:00Added an answer on June 9, 2026 at 8:01 am

    You’ll need to use a UIPickerView, since UIDatePicker does not not inherit from UIPickerView (which it says in the last sentence of the “Overview” in the Apple documentation which I linked for you).

    UIPickerView is what uses a data source.

    UIDatePicker has a built-in data source which developers can’t touch.

    I’m guessing Apple’s App Store Genius Bar appointment functionality has to be done with a UIPickerView. While UIDatePicker does have “maximumDate“, “minimumDate” & “minuteInterval” properties, there’s no way to set a selection or range of available dates & times within a date picker.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have heard conflicting stories on this topic and am looking for a little
So I am a little confused, I have been looking around trying to determine
I am looking for a little bit of help with jqGrid. I have a
I am little confused with this code am looking for somenthing similar i have
OK, this is a little frustrating, and I have searched Stack but none of
I'm new to Obj-C and I'm looking for a little help. I have a
I need a little help. Not sure why I can't make sense of this
I have been looking for a little while for a solution to this problem,
I'm looking for a little help structuring a web form to include PHP validation
I need a little help with navigating a json file. I'm looking to get

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.