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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:51:59+00:00 2026-06-14T23:51:59+00:00

Modification due to the first 2 answers : what I want to modify is

  • 0

Modification due to the first 2 answers : what I want to modify is not the height of the UIPickerview. What I want is to make the content of UIPicker begins from the upper side of UIPicker. Here is an example:
enter image description here

I want to delete the margin shown in the image here attached.I want to Kg(s) to be located at the upper border of UIPickerView, no the middle part

Any idea?

With a toolbar, the UIPickerView is embedded in a UIView. So the view hierarchy is : View(parent)->Toolbar(child), UIPickerView(child)

The View is declared as customPicker in my viewController.
Here is the code:
In viewController.h :

@interface myViewController:UIViewController<UIPickerViewDataSource, UIPickerViewDelegate>

@property (weak, nonatomic) IBoutlet UIView *customPicker;

@end

In viewController.m :

- (void) viewDidLoad{
self.customPicker.frame = CGRectMake(0, CGRectGetMaxY(self.view.frame), CGRectGetWidth(self.customPicker.frame), CGRectGetHeight(self.customPicker.frame));
    [self.view addSubview:self.customPicker];
}

Then I use a setPickerHidden method to animate the View in order to show or hide it.

Thanks in advance for your help!

  • 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-14T23:52:00+00:00Added an answer on June 14, 2026 at 11:52 pm

    That is not possible. If you need differently styled “UIPickerView” you will to roll your own.

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

Sidebar

Related Questions

I want to change modification timestamp of a binary file. What is the best
If I make a modification and don't explicitly tell it to rebuild, it won't.
ChatBot Class Modification: Modify the reply() method of the ChatBot class to recognize additional
I want to trace the modification history of a specific file. Does linux have
I need to make some recurrent modification in a lot of files (C++). I
I want to implement a simple application (modification of sample2) which is showing what
I installed a modification for my vbulletin suite and got this error Fatal error:
The application need write file's last modification date. void Dater(String DateFile) { File file
I try to get the last modification date of a file: NSFileManager *fm =
When I tried to do a simple modification of the hello android program that

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.